Search in sources :

Example 31 with ClientMessage

use of com.hazelcast.client.impl.protocol.ClientMessage in project hazelcast by hazelcast.

the class ClientCompatibilityNullTest_1_1 method test.

@org.junit.Test
public void test() throws IOException {
    InputStream input = getClass().getResourceAsStream("/1.1.protocol.compatibility.null.binary");
    DataInputStream inputStream = new DataInputStream(input);
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeRequest(aString, aString, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCodec.ResponseParameters params = ClientAuthenticationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.serverHazelcastVersionExist);
        assertFalse(params.clientUnregisteredMembersExist);
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeRequest(aData, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCustomCodec.ResponseParameters params = ClientAuthenticationCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.serverHazelcastVersionExist);
        assertFalse(params.clientUnregisteredMembersExist);
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddMembershipListenerCodec.ResponseParameters params = ClientAddMembershipListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddMembershipListenerCodecHandler extends ClientAddMembershipListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.core.Member member, int eventType) {
                assertTrue(isEqual(aMember, member));
                assertTrue(isEqual(anInt, eventType));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.core.Member> members) {
                assertTrue(isEqual(members, members));
            }

            @Override
            public void handle(java.lang.String uuid, java.lang.String key, int operationType, java.lang.String value) {
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(aString, key));
                assertTrue(isEqual(anInt, operationType));
                assertTrue(isEqual(null, value));
            }
        }
        ClientAddMembershipListenerCodecHandler handler = new ClientAddMembershipListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientCreateProxyCodec.ResponseParameters params = ClientCreateProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientDestroyProxyCodec.ResponseParameters params = ClientDestroyProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetPartitionsCodec.ResponseParameters params = ClientGetPartitionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aPartitionTable, params.partitions));
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveAllListenersCodec.ResponseParameters params = ClientRemoveAllListenersCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddPartitionLostListenerCodec.ResponseParameters params = ClientAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddPartitionLostListenerCodecHandler extends ClientAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, int lostBackupCount, com.hazelcast.nio.Address source) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(anInt, lostBackupCount));
                assertTrue(isEqual(null, source));
            }
        }
        ClientAddPartitionLostListenerCodecHandler handler = new ClientAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemovePartitionLostListenerCodec.ResponseParameters params = ClientRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetDistributedObjectsCodec.ResponseParameters params = ClientGetDistributedObjectsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(distributedObjectInfos, params.response));
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddDistributedObjectListenerCodec.ResponseParameters params = ClientAddDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddDistributedObjectListenerCodecHandler extends ClientAddDistributedObjectListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, java.lang.String serviceName, java.lang.String eventType) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(aString, serviceName));
                assertTrue(isEqual(aString, eventType));
            }
        }
        ClientAddDistributedObjectListenerCodecHandler handler = new ClientAddDistributedObjectListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveDistributedObjectListenerCodec.ResponseParameters params = ClientRemoveDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientPingCodec.ResponseParameters params = ClientPingCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutCodec.ResponseParameters params = MapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetCodec.ResponseParameters params = MapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveCodec.ResponseParameters params = MapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceCodec.ResponseParameters params = MapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeRequest(aString, aData, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceIfSameCodec.ResponseParameters params = MapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsKeyCodec.ResponseParameters params = MapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsValueCodec.ResponseParameters params = MapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveIfSameCodec.ResponseParameters params = MapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapDeleteCodec.ResponseParameters params = MapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFlushCodec.ResponseParameters params = MapFlushCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryRemoveCodec.ResponseParameters params = MapTryRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryPutCodec.ResponseParameters params = MapTryPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutTransientCodec.ResponseParameters params = MapPutTransientCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutIfAbsentCodec.ResponseParameters params = MapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSetCodec.ResponseParameters params = MapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLockCodec.ResponseParameters params = MapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryLockCodec.ResponseParameters params = MapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsLockedCodec.ResponseParameters params = MapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapUnlockCodec.ResponseParameters params = MapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddInterceptorCodec.ResponseParameters params = MapAddInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveInterceptorCodec.ResponseParameters params = MapRemoveInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = MapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyWithPredicateCodecHandler extends MapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyWithPredicateCodecHandler handler = new MapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerWithPredicateCodec.ResponseParameters params = MapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerWithPredicateCodecHandler extends MapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerWithPredicateCodecHandler handler = new MapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyCodec.ResponseParameters params = MapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyCodecHandler extends MapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyCodecHandler handler = new MapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeRequest(aString, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerCodec.ResponseParameters params = MapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerCodecHandler extends MapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerCodecHandler handler = new MapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheEntryListenerCodec.ResponseParameters params = MapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddNearCacheEntryListenerCodecHandler extends MapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(null, key));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(datas, keys));
            }
        }
        MapAddNearCacheEntryListenerCodecHandler handler = new MapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveEntryListenerCodec.ResponseParameters params = MapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddPartitionLostListenerCodec.ResponseParameters params = MapAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddPartitionLostListenerCodecHandler extends MapAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        MapAddPartitionLostListenerCodecHandler handler = new MapAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemovePartitionLostListenerCodec.ResponseParameters params = MapRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetEntryViewCodec.ResponseParameters params = MapGetEntryViewCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictCodec.ResponseParameters params = MapEvictCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictAllCodec.ResponseParameters params = MapEvictAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadAllCodec.ResponseParameters params = MapLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadGivenKeysCodec.ResponseParameters params = MapLoadGivenKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetCodec.ResponseParameters params = MapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetAllCodec.ResponseParameters params = MapGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesCodec.ResponseParameters params = MapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntrySetCodec.ResponseParameters params = MapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPredicateCodec.ResponseParameters params = MapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPredicateCodec.ResponseParameters params = MapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPredicateCodec.ResponseParameters params = MapEntriesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeRequest(aString, aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddIndexCodec.ResponseParameters params = MapAddIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSizeCodec.ResponseParameters params = MapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsEmptyCodec.ResponseParameters params = MapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutAllCodec.ResponseParameters params = MapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearCodec.ResponseParameters params = MapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeyCodec.ResponseParameters params = MapExecuteOnKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSubmitToKeyCodec.ResponseParameters params = MapSubmitToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnAllKeysCodec.ResponseParameters params = MapExecuteOnAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeRequest(aString, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteWithPredicateCodec.ResponseParameters params = MapExecuteWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeRequest(aString, aData, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeysCodec.ResponseParameters params = MapExecuteOnKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapForceUnlockCodec.ResponseParameters params = MapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPagingPredicateCodec.ResponseParameters params = MapKeySetWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPagingPredicateCodec.ResponseParameters params = MapValuesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPagingPredicateCodec.ResponseParameters params = MapEntriesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeRequest(aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearNearCacheCodec.ResponseParameters params = MapClearNearCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchKeysCodec.ResponseParameters params = MapFetchKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchEntriesCodec.ResponseParameters params = MapFetchEntriesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapPutCodec.ResponseParameters params = MultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapGetCodec.ResponseParameters params = MultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveCodec.ResponseParameters params = MultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapKeySetCodec.ResponseParameters params = MultiMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValuesCodec.ResponseParameters params = MultiMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapEntrySetCodec.ResponseParameters params = MultiMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsKeyCodec.ResponseParameters params = MultiMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsValueCodec.ResponseParameters params = MultiMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsEntryCodec.ResponseParameters params = MultiMapContainsEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapSizeCodec.ResponseParameters params = MultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapClearCodec.ResponseParameters params = MultiMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValueCountCodec.ResponseParameters params = MultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerToKeyCodec.ResponseParameters params = MultiMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerToKeyCodecHandler extends MultiMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerToKeyCodecHandler handler = new MultiMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerCodec.ResponseParameters params = MultiMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerCodecHandler extends MultiMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerCodecHandler handler = new MultiMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryListenerCodec.ResponseParameters params = MultiMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapLockCodec.ResponseParameters params = MultiMapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapTryLockCodec.ResponseParameters params = MultiMapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapIsLockedCodec.ResponseParameters params = MultiMapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapUnlockCodec.ResponseParameters params = MultiMapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapForceUnlockCodec.ResponseParameters params = MultiMapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryCodec.ResponseParameters params = MultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueOfferCodec.ResponseParameters params = QueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePutCodec.ResponseParameters params = QueuePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueSizeCodec.ResponseParameters params = QueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveCodec.ResponseParameters params = QueueRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePollCodec.ResponseParameters params = QueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueTakeCodec.ResponseParameters params = QueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePeekCodec.ResponseParameters params = QueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIteratorCodec.ResponseParameters params = QueueIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToCodec.ResponseParameters params = QueueDrainToCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToMaxSizeCodec.ResponseParameters params = QueueDrainToMaxSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsCodec.ResponseParameters params = QueueContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsAllCodec.ResponseParameters params = QueueContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRemoveAllCodec.ResponseParameters params = QueueCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRetainAllCodec.ResponseParameters params = QueueCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueClearCodec.ResponseParameters params = QueueClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddAllCodec.ResponseParameters params = QueueAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddListenerCodec.ResponseParameters params = QueueAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class QueueAddListenerCodecHandler extends QueueAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        QueueAddListenerCodecHandler handler = new QueueAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveListenerCodec.ResponseParameters params = QueueRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemainingCapacityCodec.ResponseParameters params = QueueRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIsEmptyCodec.ResponseParameters params = QueueIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicPublishCodec.ResponseParameters params = TopicPublishCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicAddMessageListenerCodec.ResponseParameters params = TopicAddMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class TopicAddMessageListenerCodecHandler extends TopicAddMessageListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, long publishTime, java.lang.String uuid) {
                assertTrue(isEqual(aData, item));
                assertTrue(isEqual(aLong, publishTime));
                assertTrue(isEqual(aString, uuid));
            }
        }
        TopicAddMessageListenerCodecHandler handler = new TopicAddMessageListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicRemoveMessageListenerCodec.ResponseParameters params = TopicRemoveMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSizeCodec.ResponseParameters params = ListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsCodec.ResponseParameters params = ListContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsAllCodec.ResponseParameters params = ListContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddCodec.ResponseParameters params = ListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveCodec.ResponseParameters params = ListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllCodec.ResponseParameters params = ListAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRemoveAllCodec.ResponseParameters params = ListCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRetainAllCodec.ResponseParameters params = ListCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListClearCodec.ResponseParameters params = ListClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetAllCodec.ResponseParameters params = ListGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddListenerCodec.ResponseParameters params = ListAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ListAddListenerCodecHandler extends ListAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        ListAddListenerCodecHandler handler = new ListAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveListenerCodec.ResponseParameters params = ListRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIsEmptyCodec.ResponseParameters params = ListIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeRequest(aString, anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllWithIndexCodec.ResponseParameters params = ListAddAllWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetCodec.ResponseParameters params = ListGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSetCodec.ResponseParameters params = ListSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddWithIndexCodec.ResponseParameters params = ListAddWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveWithIndexCodec.ResponseParameters params = ListRemoveWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListLastIndexOfCodec.ResponseParameters params = ListLastIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIndexOfCodec.ResponseParameters params = ListIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeRequest(aString, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSubCodec.ResponseParameters params = ListSubCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIteratorCodec.ResponseParameters params = ListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListListIteratorCodec.ResponseParameters params = ListListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetSizeCodec.ResponseParameters params = SetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsCodec.ResponseParameters params = SetContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsAllCodec.ResponseParameters params = SetContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddCodec.ResponseParameters params = SetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveCodec.ResponseParameters params = SetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddAllCodec.ResponseParameters params = SetAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRemoveAllCodec.ResponseParameters params = SetCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRetainAllCodec.ResponseParameters params = SetCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetClearCodec.ResponseParameters params = SetClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetGetAllCodec.ResponseParameters params = SetGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddListenerCodec.ResponseParameters params = SetAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class SetAddListenerCodecHandler extends SetAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        SetAddListenerCodecHandler handler = new SetAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveListenerCodec.ResponseParameters params = SetRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetIsEmptyCodec.ResponseParameters params = SetIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedCodec.ResponseParameters params = LockIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedByCurrentThreadCodec.ResponseParameters params = LockIsLockedByCurrentThreadCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetLockCountCodec.ResponseParameters params = LockGetLockCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetRemainingLeaseTimeCodec.ResponseParameters params = LockGetRemainingLeaseTimeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeRequest(aString, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockLockCodec.ResponseParameters params = LockLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockUnlockCodec.ResponseParameters params = LockUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockForceUnlockCodec.ResponseParameters params = LockForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeRequest(aString, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockTryLockCodec.ResponseParameters params = LockTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeRequest(aString, aLong, aLong, aString, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionAwaitCodec.ResponseParameters params = ConditionAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeRequest(aString, aLong, aString, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionBeforeAwaitCodec.ResponseParameters params = ConditionBeforeAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalCodec.ResponseParameters params = ConditionSignalCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalAllCodec.ResponseParameters params = ConditionSignalAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceShutdownCodec.ResponseParameters params = ExecutorServiceShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceIsShutdownCodec.ResponseParameters params = ExecutorServiceIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnPartitionCodec.ResponseParameters params = ExecutorServiceCancelOnPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeRequest(aString, anAddress, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnAddressCodec.ResponseParameters params = ExecutorServiceCancelOnAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeRequest(aString, aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToPartitionCodec.ResponseParameters params = ExecutorServiceSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeRequest(aString, aString, aData, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToAddressCodec.ResponseParameters params = ExecutorServiceSubmitToAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongApplyCodec.ResponseParameters params = AtomicLongApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterCodec.ResponseParameters params = AtomicLongAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterAndGetCodec.ResponseParameters params = AtomicLongAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAlterCodec.ResponseParameters params = AtomicLongGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAddAndGetCodec.ResponseParameters params = AtomicLongAddAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongCompareAndSetCodec.ResponseParameters params = AtomicLongCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongDecrementAndGetCodec.ResponseParameters params = AtomicLongDecrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetCodec.ResponseParameters params = AtomicLongGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAddCodec.ResponseParameters params = AtomicLongGetAndAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndSetCodec.ResponseParameters params = AtomicLongGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongIncrementAndGetCodec.ResponseParameters params = AtomicLongIncrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndIncrementCodec.ResponseParameters params = AtomicLongGetAndIncrementCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongSetCodec.ResponseParameters params = AtomicLongSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceApplyCodec.ResponseParameters params = AtomicReferenceApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterCodec.ResponseParameters params = AtomicReferenceAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterAndGetCodec.ResponseParameters params = AtomicReferenceAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndAlterCodec.ResponseParameters params = AtomicReferenceGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceContainsCodec.ResponseParameters params = AtomicReferenceContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeRequest(aString, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceCompareAndSetCodec.ResponseParameters params = AtomicReferenceCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetCodec.ResponseParameters params = AtomicReferenceGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetCodec.ResponseParameters params = AtomicReferenceSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceClearCodec.ResponseParameters params = AtomicReferenceClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndSetCodec.ResponseParameters params = AtomicReferenceGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetAndGetCodec.ResponseParameters params = AtomicReferenceSetAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceIsNullCodec.ResponseParameters params = AtomicReferenceIsNullCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchAwaitCodec.ResponseParameters params = CountDownLatchAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchCountDownCodec.ResponseParameters params = CountDownLatchCountDownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchGetCountCodec.ResponseParameters params = CountDownLatchGetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchTrySetCountCodec.ResponseParameters params = CountDownLatchTrySetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreInitCodec.ResponseParameters params = SemaphoreInitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAcquireCodec.ResponseParameters params = SemaphoreAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAvailablePermitsCodec.ResponseParameters params = SemaphoreAvailablePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreDrainPermitsCodec.ResponseParameters params = SemaphoreDrainPermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReducePermitsCodec.ResponseParameters params = SemaphoreReducePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReleaseCodec.ResponseParameters params = SemaphoreReleaseCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeRequest(aString, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreTryAcquireCodec.ResponseParameters params = SemaphoreTryAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutCodec.ResponseParameters params = ReplicatedMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapSizeCodec.ResponseParameters params = ReplicatedMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapIsEmptyCodec.ResponseParameters params = ReplicatedMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsKeyCodec.ResponseParameters params = ReplicatedMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsValueCodec.ResponseParameters params = ReplicatedMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapGetCodec.ResponseParameters params = ReplicatedMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveCodec.ResponseParameters params = ReplicatedMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutAllCodec.ResponseParameters params = ReplicatedMapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapClearCodec.ResponseParameters params = ReplicatedMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyCodecHandler extends ReplicatedMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerCodec.ResponseParameters params = ReplicatedMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerCodecHandler extends ReplicatedMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerCodecHandler handler = new ReplicatedMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveEntryListenerCodec.ResponseParameters params = ReplicatedMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapKeySetCodec.ResponseParameters params = ReplicatedMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapValuesCodec.ResponseParameters params = ReplicatedMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapEntrySetCodec.ResponseParameters params = ReplicatedMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddNearCacheEntryListenerCodec.ResponseParameters params = ReplicatedMapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddNearCacheEntryListenerCodecHandler extends ReplicatedMapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddNearCacheEntryListenerCodecHandler handler = new ReplicatedMapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceCancelCodec.ResponseParameters params = MapReduceCancelCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceJobProcessInformationCodec.ResponseParameters params = MapReduceJobProcessInformationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(jobPartitionStates, params.jobPartitionStates));
        assertTrue(isEqual(anInt, params.processRecords));
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMapCodec.ResponseParameters params = MapReduceForMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForListCodec.ResponseParameters params = MapReduceForListCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForSetCodec.ResponseParameters params = MapReduceForSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMultiMapCodec.ResponseParameters params = MapReduceForMultiMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeRequest(aString, aString, null, aData, null, null, aData, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForCustomCodec.ResponseParameters params = MapReduceForCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapContainsKeyCodec.ResponseParameters params = TransactionalMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetCodec.ResponseParameters params = TransactionalMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetForUpdateCodec.ResponseParameters params = TransactionalMapGetForUpdateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSizeCodec.ResponseParameters params = TransactionalMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapIsEmptyCodec.ResponseParameters params = TransactionalMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutCodec.ResponseParameters params = TransactionalMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSetCodec.ResponseParameters params = TransactionalMapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutIfAbsentCodec.ResponseParameters params = TransactionalMapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceCodec.ResponseParameters params = TransactionalMapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceIfSameCodec.ResponseParameters params = TransactionalMapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveCodec.ResponseParameters params = TransactionalMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapDeleteCodec.ResponseParameters params = TransactionalMapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveIfSameCodec.ResponseParameters params = TransactionalMapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetCodec.ResponseParameters params = TransactionalMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetWithPredicateCodec.ResponseParameters params = TransactionalMapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesCodec.ResponseParameters params = TransactionalMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesWithPredicateCodec.ResponseParameters params = TransactionalMapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapPutCodec.ResponseParameters params = TransactionalMultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapGetCodec.ResponseParameters params = TransactionalMultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveCodec.ResponseParameters params = TransactionalMultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveEntryCodec.ResponseParameters params = TransactionalMultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapValueCountCodec.ResponseParameters params = TransactionalMultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapSizeCodec.ResponseParameters params = TransactionalMultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetAddCodec.ResponseParameters params = TransactionalSetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetRemoveCodec.ResponseParameters params = TransactionalSetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetSizeCodec.ResponseParameters params = TransactionalSetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListAddCodec.ResponseParameters params = TransactionalListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListRemoveCodec.ResponseParameters params = TransactionalListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListSizeCodec.ResponseParameters params = TransactionalListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeRequest(aString, aString, aLong, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueOfferCodec.ResponseParameters params = TransactionalQueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueTakeCodec.ResponseParameters params = TransactionalQueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePollCodec.ResponseParameters params = TransactionalQueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePeekCodec.ResponseParameters params = TransactionalQueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueSizeCodec.ResponseParameters params = TransactionalQueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddEntryListenerCodec.ResponseParameters params = CacheAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddEntryListenerCodecHandler extends CacheAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int type, java.util.Collection<com.hazelcast.cache.impl.CacheEventData> keys, int completionId) {
                assertTrue(isEqual(anInt, type));
                assertTrue(isEqual(cacheEventDatas, keys));
                assertTrue(isEqual(anInt, completionId));
            }
        }
        CacheAddEntryListenerCodecHandler handler = new CacheAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddInvalidationListenerCodec.ResponseParameters params = CacheAddInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddInvalidationListenerCodecHandler extends CacheAddInvalidationListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, sourceUuid));
            }

            @Override
            public void handle(java.lang.String name, java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(null, sourceUuids));
            }
        }
        CacheAddInvalidationListenerCodecHandler handler = new CacheAddInvalidationListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheClearCodec.ResponseParameters params = CacheClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllKeysCodec.ResponseParameters params = CacheRemoveAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllCodec.ResponseParameters params = CacheRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheContainsKeyCodec.ResponseParameters params = CacheContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeRequest(aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheCreateConfigCodec.ResponseParameters params = CacheCreateConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheDestroyCodec.ResponseParameters params = CacheDestroyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeRequest(aString, aData, aData, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheEntryProcessorCodec.ResponseParameters params = CacheEntryProcessorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeRequest(aString, datas, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAllCodec.ResponseParameters params = CacheGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeRequest(aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndRemoveCodec.ResponseParameters params = CacheGetAndRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndReplaceCodec.ResponseParameters params = CacheGetAndReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetConfigCodec.ResponseParameters params = CacheGetConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeRequest(aString, aData, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetCodec.ResponseParameters params = CacheGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateCodec.ResponseParameters params = CacheIterateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeRequest(aString, aData, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheListenerRegistrationCodec.ResponseParameters params = CacheListenerRegistrationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheLoadAllCodec.ResponseParameters params = CacheLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeRequest(aString, aBoolean, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheManagementConfigCodec.ResponseParameters params = CacheManagementConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutIfAbsentCodec.ResponseParameters params = CachePutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeRequest(aString, aData, aData, null, aBoolean, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutCodec.ResponseParameters params = CachePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveEntryListenerCodec.ResponseParameters params = CacheRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveInvalidationListenerCodec.ResponseParameters params = CacheRemoveInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeRequest(aString, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveCodec.ResponseParameters params = CacheRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeRequest(aString, aData, null, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheReplaceCodec.ResponseParameters params = CacheReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheSizeCodec.ResponseParameters params = CacheSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddPartitionLostListenerCodec.ResponseParameters params = CacheAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddPartitionLostListenerCodecHandler extends CacheAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        CacheAddPartitionLostListenerCodecHandler handler = new CacheAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemovePartitionLostListenerCodec.ResponseParameters params = CacheRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeRequest(aString, aListOfEntry, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutAllCodec.ResponseParameters params = CachePutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateEntriesCodec.ResponseParameters params = CacheIterateEntriesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeRequest(anXid);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionClearRemoteCodec.ResponseParameters params = XATransactionClearRemoteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCollectTransactionsCodec.ResponseParameters params = XATransactionCollectTransactionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeRequest(anXid, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionFinalizeCodec.ResponseParameters params = XATransactionFinalizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCommitCodec.ResponseParameters params = XATransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeRequest(anXid, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCreateCodec.ResponseParameters params = XATransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionPrepareCodec.ResponseParameters params = XATransactionPrepareCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionRollbackCodec.ResponseParameters params = XATransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCommitCodec.ResponseParameters params = TransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeRequest(aLong, anInt, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCreateCodec.ResponseParameters params = TransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionRollbackCodec.ResponseParameters params = TransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateWithValueCodec.ResponseParameters params = ContinuousQueryPublisherCreateWithValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateCodec.ResponseParameters params = ContinuousQueryPublisherCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryMadePublishableCodec.ResponseParameters params = ContinuousQueryMadePublishableCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryAddListenerCodec.ResponseParameters params = ContinuousQueryAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ContinuousQueryAddListenerCodecHandler extends ContinuousQueryAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.map.impl.querycache.event.QueryCacheEventData data) {
                assertTrue(isEqual(aQueryCacheEventData, data));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.map.impl.querycache.event.QueryCacheEventData> events, java.lang.String source, int partitionId) {
                assertTrue(isEqual(queryCacheEventDatas, events));
                assertTrue(isEqual(aString, source));
                assertTrue(isEqual(anInt, partitionId));
            }
        }
        ContinuousQueryAddListenerCodecHandler handler = new ContinuousQueryAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQuerySetReadCursorCodec.ResponseParameters params = ContinuousQuerySetReadCursorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryDestroyCacheCodec.ResponseParameters params = ContinuousQueryDestroyCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferSizeCodec.ResponseParameters params = RingbufferSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferTailSequenceCodec.ResponseParameters params = RingbufferTailSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferHeadSequenceCodec.ResponseParameters params = RingbufferHeadSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferCapacityCodec.ResponseParameters params = RingbufferCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferRemainingCapacityCodec.ResponseParameters params = RingbufferRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddCodec.ResponseParameters params = RingbufferAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadOneCodec.ResponseParameters params = RingbufferReadOneCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddAllCodec.ResponseParameters params = RingbufferAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeRequest(aString, aLong, anInt, anInt, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadManyCodec.ResponseParameters params = RingbufferReadManyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.readCount));
        assertTrue(isEqual(datas, params.items));
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorShutdownCodec.ResponseParameters params = DurableExecutorShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorIsShutdownCodec.ResponseParameters params = DurableExecutorIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorSubmitToPartitionCodec.ResponseParameters params = DurableExecutorSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveResultCodec.ResponseParameters params = DurableExecutorRetrieveResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorDisposeResultCodec.ResponseParameters params = DurableExecutorDisposeResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveAndDisposeResultCodec.ResponseParameters params = DurableExecutorRetrieveAndDisposeResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    inputStream.close();
    input.close();
}
Also used : Address(com.hazelcast.nio.Address) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) Member(com.hazelcast.core.Member) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DataInputStream(java.io.DataInputStream) InputStream(java.io.InputStream) Data(com.hazelcast.nio.serialization.Data) HeapData(com.hazelcast.internal.serialization.impl.HeapData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) Data(com.hazelcast.nio.serialization.Data) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) DataInputStream(java.io.DataInputStream) Member(com.hazelcast.core.Member)

Example 32 with ClientMessage

use of com.hazelcast.client.impl.protocol.ClientMessage in project hazelcast by hazelcast.

the class ClientCompatibilityNullTest_1_2 method test.

@org.junit.Test
public void test() throws IOException {
    InputStream input = getClass().getResourceAsStream("/1.2.protocol.compatibility.null.binary");
    DataInputStream inputStream = new DataInputStream(input);
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeRequest(aString, aString, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.2) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCodec.ResponseParameters params = ClientAuthenticationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.serverHazelcastVersionExist);
        assertFalse(params.clientUnregisteredMembersExist);
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeRequest(aData, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.2) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCustomCodec.ResponseParameters params = ClientAuthenticationCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.serverHazelcastVersionExist);
        assertFalse(params.clientUnregisteredMembersExist);
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddMembershipListenerCodec.ResponseParameters params = ClientAddMembershipListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddMembershipListenerCodecHandler extends ClientAddMembershipListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.core.Member member, int eventType) {
                assertTrue(isEqual(aMember, member));
                assertTrue(isEqual(anInt, eventType));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.core.Member> members) {
                assertTrue(isEqual(members, members));
            }

            @Override
            public void handle(java.lang.String uuid, java.lang.String key, int operationType, java.lang.String value) {
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(aString, key));
                assertTrue(isEqual(anInt, operationType));
                assertTrue(isEqual(null, value));
            }
        }
        ClientAddMembershipListenerCodecHandler handler = new ClientAddMembershipListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientCreateProxyCodec.ResponseParameters params = ClientCreateProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientDestroyProxyCodec.ResponseParameters params = ClientDestroyProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetPartitionsCodec.ResponseParameters params = ClientGetPartitionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aPartitionTable, params.partitions));
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveAllListenersCodec.ResponseParameters params = ClientRemoveAllListenersCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddPartitionLostListenerCodec.ResponseParameters params = ClientAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddPartitionLostListenerCodecHandler extends ClientAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, int lostBackupCount, com.hazelcast.nio.Address source) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(anInt, lostBackupCount));
                assertTrue(isEqual(null, source));
            }
        }
        ClientAddPartitionLostListenerCodecHandler handler = new ClientAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemovePartitionLostListenerCodec.ResponseParameters params = ClientRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetDistributedObjectsCodec.ResponseParameters params = ClientGetDistributedObjectsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(distributedObjectInfos, params.response));
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddDistributedObjectListenerCodec.ResponseParameters params = ClientAddDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddDistributedObjectListenerCodecHandler extends ClientAddDistributedObjectListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, java.lang.String serviceName, java.lang.String eventType) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(aString, serviceName));
                assertTrue(isEqual(aString, eventType));
            }
        }
        ClientAddDistributedObjectListenerCodecHandler handler = new ClientAddDistributedObjectListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveDistributedObjectListenerCodec.ResponseParameters params = ClientRemoveDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientPingCodec.ResponseParameters params = ClientPingCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutCodec.ResponseParameters params = MapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetCodec.ResponseParameters params = MapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveCodec.ResponseParameters params = MapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceCodec.ResponseParameters params = MapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeRequest(aString, aData, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceIfSameCodec.ResponseParameters params = MapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsKeyCodec.ResponseParameters params = MapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsValueCodec.ResponseParameters params = MapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveIfSameCodec.ResponseParameters params = MapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapDeleteCodec.ResponseParameters params = MapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFlushCodec.ResponseParameters params = MapFlushCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryRemoveCodec.ResponseParameters params = MapTryRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryPutCodec.ResponseParameters params = MapTryPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutTransientCodec.ResponseParameters params = MapPutTransientCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutIfAbsentCodec.ResponseParameters params = MapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSetCodec.ResponseParameters params = MapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLockCodec.ResponseParameters params = MapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryLockCodec.ResponseParameters params = MapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsLockedCodec.ResponseParameters params = MapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapUnlockCodec.ResponseParameters params = MapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddInterceptorCodec.ResponseParameters params = MapAddInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveInterceptorCodec.ResponseParameters params = MapRemoveInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = MapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyWithPredicateCodecHandler extends MapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyWithPredicateCodecHandler handler = new MapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerWithPredicateCodec.ResponseParameters params = MapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerWithPredicateCodecHandler extends MapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerWithPredicateCodecHandler handler = new MapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyCodec.ResponseParameters params = MapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyCodecHandler extends MapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyCodecHandler handler = new MapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeRequest(aString, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerCodec.ResponseParameters params = MapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerCodecHandler extends MapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerCodecHandler handler = new MapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.2) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheEntryListenerCodec.ResponseParameters params = MapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddNearCacheEntryListenerCodecHandler extends MapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(null, key));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(datas, keys));
            }
        }
        MapAddNearCacheEntryListenerCodecHandler handler = new MapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveEntryListenerCodec.ResponseParameters params = MapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddPartitionLostListenerCodec.ResponseParameters params = MapAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddPartitionLostListenerCodecHandler extends MapAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        MapAddPartitionLostListenerCodecHandler handler = new MapAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemovePartitionLostListenerCodec.ResponseParameters params = MapRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetEntryViewCodec.ResponseParameters params = MapGetEntryViewCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictCodec.ResponseParameters params = MapEvictCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictAllCodec.ResponseParameters params = MapEvictAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadAllCodec.ResponseParameters params = MapLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadGivenKeysCodec.ResponseParameters params = MapLoadGivenKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetCodec.ResponseParameters params = MapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetAllCodec.ResponseParameters params = MapGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesCodec.ResponseParameters params = MapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntrySetCodec.ResponseParameters params = MapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPredicateCodec.ResponseParameters params = MapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPredicateCodec.ResponseParameters params = MapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPredicateCodec.ResponseParameters params = MapEntriesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeRequest(aString, aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddIndexCodec.ResponseParameters params = MapAddIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSizeCodec.ResponseParameters params = MapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsEmptyCodec.ResponseParameters params = MapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutAllCodec.ResponseParameters params = MapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearCodec.ResponseParameters params = MapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeyCodec.ResponseParameters params = MapExecuteOnKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSubmitToKeyCodec.ResponseParameters params = MapSubmitToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnAllKeysCodec.ResponseParameters params = MapExecuteOnAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeRequest(aString, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteWithPredicateCodec.ResponseParameters params = MapExecuteWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeRequest(aString, aData, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeysCodec.ResponseParameters params = MapExecuteOnKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapForceUnlockCodec.ResponseParameters params = MapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPagingPredicateCodec.ResponseParameters params = MapKeySetWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPagingPredicateCodec.ResponseParameters params = MapValuesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPagingPredicateCodec.ResponseParameters params = MapEntriesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeRequest(aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearNearCacheCodec.ResponseParameters params = MapClearNearCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchKeysCodec.ResponseParameters params = MapFetchKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchEntriesCodec.ResponseParameters params = MapFetchEntriesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapPutCodec.ResponseParameters params = MultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapGetCodec.ResponseParameters params = MultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveCodec.ResponseParameters params = MultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapKeySetCodec.ResponseParameters params = MultiMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValuesCodec.ResponseParameters params = MultiMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapEntrySetCodec.ResponseParameters params = MultiMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsKeyCodec.ResponseParameters params = MultiMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsValueCodec.ResponseParameters params = MultiMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsEntryCodec.ResponseParameters params = MultiMapContainsEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapSizeCodec.ResponseParameters params = MultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapClearCodec.ResponseParameters params = MultiMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValueCountCodec.ResponseParameters params = MultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerToKeyCodec.ResponseParameters params = MultiMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerToKeyCodecHandler extends MultiMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerToKeyCodecHandler handler = new MultiMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerCodec.ResponseParameters params = MultiMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerCodecHandler extends MultiMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerCodecHandler handler = new MultiMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryListenerCodec.ResponseParameters params = MultiMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapLockCodec.ResponseParameters params = MultiMapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapTryLockCodec.ResponseParameters params = MultiMapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapIsLockedCodec.ResponseParameters params = MultiMapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapUnlockCodec.ResponseParameters params = MultiMapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapForceUnlockCodec.ResponseParameters params = MultiMapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryCodec.ResponseParameters params = MultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueOfferCodec.ResponseParameters params = QueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePutCodec.ResponseParameters params = QueuePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueSizeCodec.ResponseParameters params = QueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveCodec.ResponseParameters params = QueueRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePollCodec.ResponseParameters params = QueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueTakeCodec.ResponseParameters params = QueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePeekCodec.ResponseParameters params = QueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIteratorCodec.ResponseParameters params = QueueIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToCodec.ResponseParameters params = QueueDrainToCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToMaxSizeCodec.ResponseParameters params = QueueDrainToMaxSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsCodec.ResponseParameters params = QueueContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsAllCodec.ResponseParameters params = QueueContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRemoveAllCodec.ResponseParameters params = QueueCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRetainAllCodec.ResponseParameters params = QueueCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueClearCodec.ResponseParameters params = QueueClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddAllCodec.ResponseParameters params = QueueAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddListenerCodec.ResponseParameters params = QueueAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class QueueAddListenerCodecHandler extends QueueAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        QueueAddListenerCodecHandler handler = new QueueAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveListenerCodec.ResponseParameters params = QueueRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemainingCapacityCodec.ResponseParameters params = QueueRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIsEmptyCodec.ResponseParameters params = QueueIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicPublishCodec.ResponseParameters params = TopicPublishCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicAddMessageListenerCodec.ResponseParameters params = TopicAddMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class TopicAddMessageListenerCodecHandler extends TopicAddMessageListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, long publishTime, java.lang.String uuid) {
                assertTrue(isEqual(aData, item));
                assertTrue(isEqual(aLong, publishTime));
                assertTrue(isEqual(aString, uuid));
            }
        }
        TopicAddMessageListenerCodecHandler handler = new TopicAddMessageListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicRemoveMessageListenerCodec.ResponseParameters params = TopicRemoveMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSizeCodec.ResponseParameters params = ListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsCodec.ResponseParameters params = ListContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsAllCodec.ResponseParameters params = ListContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddCodec.ResponseParameters params = ListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveCodec.ResponseParameters params = ListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllCodec.ResponseParameters params = ListAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRemoveAllCodec.ResponseParameters params = ListCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRetainAllCodec.ResponseParameters params = ListCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListClearCodec.ResponseParameters params = ListClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetAllCodec.ResponseParameters params = ListGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddListenerCodec.ResponseParameters params = ListAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ListAddListenerCodecHandler extends ListAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        ListAddListenerCodecHandler handler = new ListAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveListenerCodec.ResponseParameters params = ListRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIsEmptyCodec.ResponseParameters params = ListIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeRequest(aString, anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllWithIndexCodec.ResponseParameters params = ListAddAllWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetCodec.ResponseParameters params = ListGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSetCodec.ResponseParameters params = ListSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddWithIndexCodec.ResponseParameters params = ListAddWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveWithIndexCodec.ResponseParameters params = ListRemoveWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListLastIndexOfCodec.ResponseParameters params = ListLastIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIndexOfCodec.ResponseParameters params = ListIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeRequest(aString, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSubCodec.ResponseParameters params = ListSubCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIteratorCodec.ResponseParameters params = ListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListListIteratorCodec.ResponseParameters params = ListListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetSizeCodec.ResponseParameters params = SetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsCodec.ResponseParameters params = SetContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsAllCodec.ResponseParameters params = SetContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddCodec.ResponseParameters params = SetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveCodec.ResponseParameters params = SetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddAllCodec.ResponseParameters params = SetAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRemoveAllCodec.ResponseParameters params = SetCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRetainAllCodec.ResponseParameters params = SetCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetClearCodec.ResponseParameters params = SetClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetGetAllCodec.ResponseParameters params = SetGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddListenerCodec.ResponseParameters params = SetAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class SetAddListenerCodecHandler extends SetAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        SetAddListenerCodecHandler handler = new SetAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveListenerCodec.ResponseParameters params = SetRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetIsEmptyCodec.ResponseParameters params = SetIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedCodec.ResponseParameters params = LockIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedByCurrentThreadCodec.ResponseParameters params = LockIsLockedByCurrentThreadCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetLockCountCodec.ResponseParameters params = LockGetLockCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetRemainingLeaseTimeCodec.ResponseParameters params = LockGetRemainingLeaseTimeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeRequest(aString, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockLockCodec.ResponseParameters params = LockLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockUnlockCodec.ResponseParameters params = LockUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockForceUnlockCodec.ResponseParameters params = LockForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeRequest(aString, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockTryLockCodec.ResponseParameters params = LockTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeRequest(aString, aLong, aLong, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionAwaitCodec.ResponseParameters params = ConditionAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeRequest(aString, aLong, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionBeforeAwaitCodec.ResponseParameters params = ConditionBeforeAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalCodec.ResponseParameters params = ConditionSignalCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalAllCodec.ResponseParameters params = ConditionSignalAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceShutdownCodec.ResponseParameters params = ExecutorServiceShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceIsShutdownCodec.ResponseParameters params = ExecutorServiceIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnPartitionCodec.ResponseParameters params = ExecutorServiceCancelOnPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeRequest(aString, anAddress, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnAddressCodec.ResponseParameters params = ExecutorServiceCancelOnAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeRequest(aString, aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToPartitionCodec.ResponseParameters params = ExecutorServiceSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeRequest(aString, aString, aData, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToAddressCodec.ResponseParameters params = ExecutorServiceSubmitToAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongApplyCodec.ResponseParameters params = AtomicLongApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterCodec.ResponseParameters params = AtomicLongAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterAndGetCodec.ResponseParameters params = AtomicLongAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAlterCodec.ResponseParameters params = AtomicLongGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAddAndGetCodec.ResponseParameters params = AtomicLongAddAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongCompareAndSetCodec.ResponseParameters params = AtomicLongCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongDecrementAndGetCodec.ResponseParameters params = AtomicLongDecrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetCodec.ResponseParameters params = AtomicLongGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAddCodec.ResponseParameters params = AtomicLongGetAndAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndSetCodec.ResponseParameters params = AtomicLongGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongIncrementAndGetCodec.ResponseParameters params = AtomicLongIncrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndIncrementCodec.ResponseParameters params = AtomicLongGetAndIncrementCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongSetCodec.ResponseParameters params = AtomicLongSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceApplyCodec.ResponseParameters params = AtomicReferenceApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterCodec.ResponseParameters params = AtomicReferenceAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterAndGetCodec.ResponseParameters params = AtomicReferenceAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndAlterCodec.ResponseParameters params = AtomicReferenceGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceContainsCodec.ResponseParameters params = AtomicReferenceContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeRequest(aString, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceCompareAndSetCodec.ResponseParameters params = AtomicReferenceCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetCodec.ResponseParameters params = AtomicReferenceGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetCodec.ResponseParameters params = AtomicReferenceSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceClearCodec.ResponseParameters params = AtomicReferenceClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndSetCodec.ResponseParameters params = AtomicReferenceGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetAndGetCodec.ResponseParameters params = AtomicReferenceSetAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceIsNullCodec.ResponseParameters params = AtomicReferenceIsNullCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchAwaitCodec.ResponseParameters params = CountDownLatchAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchCountDownCodec.ResponseParameters params = CountDownLatchCountDownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchGetCountCodec.ResponseParameters params = CountDownLatchGetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchTrySetCountCodec.ResponseParameters params = CountDownLatchTrySetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreInitCodec.ResponseParameters params = SemaphoreInitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAcquireCodec.ResponseParameters params = SemaphoreAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAvailablePermitsCodec.ResponseParameters params = SemaphoreAvailablePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreDrainPermitsCodec.ResponseParameters params = SemaphoreDrainPermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReducePermitsCodec.ResponseParameters params = SemaphoreReducePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReleaseCodec.ResponseParameters params = SemaphoreReleaseCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeRequest(aString, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreTryAcquireCodec.ResponseParameters params = SemaphoreTryAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutCodec.ResponseParameters params = ReplicatedMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapSizeCodec.ResponseParameters params = ReplicatedMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapIsEmptyCodec.ResponseParameters params = ReplicatedMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsKeyCodec.ResponseParameters params = ReplicatedMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsValueCodec.ResponseParameters params = ReplicatedMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapGetCodec.ResponseParameters params = ReplicatedMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveCodec.ResponseParameters params = ReplicatedMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutAllCodec.ResponseParameters params = ReplicatedMapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapClearCodec.ResponseParameters params = ReplicatedMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyCodecHandler extends ReplicatedMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerCodec.ResponseParameters params = ReplicatedMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerCodecHandler extends ReplicatedMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerCodecHandler handler = new ReplicatedMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveEntryListenerCodec.ResponseParameters params = ReplicatedMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapKeySetCodec.ResponseParameters params = ReplicatedMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapValuesCodec.ResponseParameters params = ReplicatedMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapEntrySetCodec.ResponseParameters params = ReplicatedMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddNearCacheEntryListenerCodec.ResponseParameters params = ReplicatedMapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddNearCacheEntryListenerCodecHandler extends ReplicatedMapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddNearCacheEntryListenerCodecHandler handler = new ReplicatedMapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceCancelCodec.ResponseParameters params = MapReduceCancelCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceJobProcessInformationCodec.ResponseParameters params = MapReduceJobProcessInformationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(jobPartitionStates, params.jobPartitionStates));
        assertTrue(isEqual(anInt, params.processRecords));
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMapCodec.ResponseParameters params = MapReduceForMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForListCodec.ResponseParameters params = MapReduceForListCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForSetCodec.ResponseParameters params = MapReduceForSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMultiMapCodec.ResponseParameters params = MapReduceForMultiMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeRequest(aString, aString, null, aData, null, null, aData, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForCustomCodec.ResponseParameters params = MapReduceForCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapContainsKeyCodec.ResponseParameters params = TransactionalMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetCodec.ResponseParameters params = TransactionalMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetForUpdateCodec.ResponseParameters params = TransactionalMapGetForUpdateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSizeCodec.ResponseParameters params = TransactionalMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapIsEmptyCodec.ResponseParameters params = TransactionalMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutCodec.ResponseParameters params = TransactionalMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSetCodec.ResponseParameters params = TransactionalMapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutIfAbsentCodec.ResponseParameters params = TransactionalMapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceCodec.ResponseParameters params = TransactionalMapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceIfSameCodec.ResponseParameters params = TransactionalMapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveCodec.ResponseParameters params = TransactionalMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapDeleteCodec.ResponseParameters params = TransactionalMapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveIfSameCodec.ResponseParameters params = TransactionalMapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetCodec.ResponseParameters params = TransactionalMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetWithPredicateCodec.ResponseParameters params = TransactionalMapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesCodec.ResponseParameters params = TransactionalMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesWithPredicateCodec.ResponseParameters params = TransactionalMapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapPutCodec.ResponseParameters params = TransactionalMultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapGetCodec.ResponseParameters params = TransactionalMultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveCodec.ResponseParameters params = TransactionalMultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveEntryCodec.ResponseParameters params = TransactionalMultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapValueCountCodec.ResponseParameters params = TransactionalMultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapSizeCodec.ResponseParameters params = TransactionalMultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetAddCodec.ResponseParameters params = TransactionalSetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetRemoveCodec.ResponseParameters params = TransactionalSetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetSizeCodec.ResponseParameters params = TransactionalSetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListAddCodec.ResponseParameters params = TransactionalListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListRemoveCodec.ResponseParameters params = TransactionalListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListSizeCodec.ResponseParameters params = TransactionalListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeRequest(aString, aString, aLong, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueOfferCodec.ResponseParameters params = TransactionalQueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueTakeCodec.ResponseParameters params = TransactionalQueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePollCodec.ResponseParameters params = TransactionalQueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePeekCodec.ResponseParameters params = TransactionalQueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueSizeCodec.ResponseParameters params = TransactionalQueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddEntryListenerCodec.ResponseParameters params = CacheAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddEntryListenerCodecHandler extends CacheAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int type, java.util.Collection<com.hazelcast.cache.impl.CacheEventData> keys, int completionId) {
                assertTrue(isEqual(anInt, type));
                assertTrue(isEqual(cacheEventDatas, keys));
                assertTrue(isEqual(anInt, completionId));
            }
        }
        CacheAddEntryListenerCodecHandler handler = new CacheAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.2) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddInvalidationListenerCodec.ResponseParameters params = CacheAddInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddInvalidationListenerCodecHandler extends CacheAddInvalidationListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, sourceUuid));
            }

            @Override
            public void handle(java.lang.String name, java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(null, sourceUuids));
            }
        }
        CacheAddInvalidationListenerCodecHandler handler = new CacheAddInvalidationListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheClearCodec.ResponseParameters params = CacheClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllKeysCodec.ResponseParameters params = CacheRemoveAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllCodec.ResponseParameters params = CacheRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheContainsKeyCodec.ResponseParameters params = CacheContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeRequest(aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheCreateConfigCodec.ResponseParameters params = CacheCreateConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheDestroyCodec.ResponseParameters params = CacheDestroyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeRequest(aString, aData, aData, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheEntryProcessorCodec.ResponseParameters params = CacheEntryProcessorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeRequest(aString, datas, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAllCodec.ResponseParameters params = CacheGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeRequest(aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndRemoveCodec.ResponseParameters params = CacheGetAndRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndReplaceCodec.ResponseParameters params = CacheGetAndReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetConfigCodec.ResponseParameters params = CacheGetConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeRequest(aString, aData, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetCodec.ResponseParameters params = CacheGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateCodec.ResponseParameters params = CacheIterateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeRequest(aString, aData, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheListenerRegistrationCodec.ResponseParameters params = CacheListenerRegistrationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheLoadAllCodec.ResponseParameters params = CacheLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeRequest(aString, aBoolean, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheManagementConfigCodec.ResponseParameters params = CacheManagementConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutIfAbsentCodec.ResponseParameters params = CachePutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeRequest(aString, aData, aData, null, aBoolean, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutCodec.ResponseParameters params = CachePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveEntryListenerCodec.ResponseParameters params = CacheRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveInvalidationListenerCodec.ResponseParameters params = CacheRemoveInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeRequest(aString, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveCodec.ResponseParameters params = CacheRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeRequest(aString, aData, null, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheReplaceCodec.ResponseParameters params = CacheReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheSizeCodec.ResponseParameters params = CacheSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddPartitionLostListenerCodec.ResponseParameters params = CacheAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddPartitionLostListenerCodecHandler extends CacheAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        CacheAddPartitionLostListenerCodecHandler handler = new CacheAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemovePartitionLostListenerCodec.ResponseParameters params = CacheRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeRequest(aString, aListOfEntry, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutAllCodec.ResponseParameters params = CachePutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateEntriesCodec.ResponseParameters params = CacheIterateEntriesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeRequest(anXid);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionClearRemoteCodec.ResponseParameters params = XATransactionClearRemoteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCollectTransactionsCodec.ResponseParameters params = XATransactionCollectTransactionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeRequest(anXid, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionFinalizeCodec.ResponseParameters params = XATransactionFinalizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCommitCodec.ResponseParameters params = XATransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeRequest(anXid, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCreateCodec.ResponseParameters params = XATransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionPrepareCodec.ResponseParameters params = XATransactionPrepareCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionRollbackCodec.ResponseParameters params = XATransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCommitCodec.ResponseParameters params = TransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeRequest(aLong, anInt, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCreateCodec.ResponseParameters params = TransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionRollbackCodec.ResponseParameters params = TransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateWithValueCodec.ResponseParameters params = ContinuousQueryPublisherCreateWithValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateCodec.ResponseParameters params = ContinuousQueryPublisherCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryMadePublishableCodec.ResponseParameters params = ContinuousQueryMadePublishableCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryAddListenerCodec.ResponseParameters params = ContinuousQueryAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ContinuousQueryAddListenerCodecHandler extends ContinuousQueryAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.map.impl.querycache.event.QueryCacheEventData data) {
                assertTrue(isEqual(aQueryCacheEventData, data));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.map.impl.querycache.event.QueryCacheEventData> events, java.lang.String source, int partitionId) {
                assertTrue(isEqual(queryCacheEventDatas, events));
                assertTrue(isEqual(aString, source));
                assertTrue(isEqual(anInt, partitionId));
            }
        }
        ContinuousQueryAddListenerCodecHandler handler = new ContinuousQueryAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQuerySetReadCursorCodec.ResponseParameters params = ContinuousQuerySetReadCursorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryDestroyCacheCodec.ResponseParameters params = ContinuousQueryDestroyCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferSizeCodec.ResponseParameters params = RingbufferSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferTailSequenceCodec.ResponseParameters params = RingbufferTailSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferHeadSequenceCodec.ResponseParameters params = RingbufferHeadSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferCapacityCodec.ResponseParameters params = RingbufferCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferRemainingCapacityCodec.ResponseParameters params = RingbufferRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddCodec.ResponseParameters params = RingbufferAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadOneCodec.ResponseParameters params = RingbufferReadOneCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddAllCodec.ResponseParameters params = RingbufferAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeRequest(aString, aLong, anInt, anInt, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadManyCodec.ResponseParameters params = RingbufferReadManyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.readCount));
        assertTrue(isEqual(datas, params.items));
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorShutdownCodec.ResponseParameters params = DurableExecutorShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorIsShutdownCodec.ResponseParameters params = DurableExecutorIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorSubmitToPartitionCodec.ResponseParameters params = DurableExecutorSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveResultCodec.ResponseParameters params = DurableExecutorRetrieveResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorDisposeResultCodec.ResponseParameters params = DurableExecutorDisposeResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveAndDisposeResultCodec.ResponseParameters params = DurableExecutorRetrieveAndDisposeResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    inputStream.close();
    input.close();
}
Also used : Address(com.hazelcast.nio.Address) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) Member(com.hazelcast.core.Member) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DataInputStream(java.io.DataInputStream) InputStream(java.io.InputStream) Data(com.hazelcast.nio.serialization.Data) HeapData(com.hazelcast.internal.serialization.impl.HeapData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) Data(com.hazelcast.nio.serialization.Data) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) DataInputStream(java.io.DataInputStream) Member(com.hazelcast.core.Member)

Example 33 with ClientMessage

use of com.hazelcast.client.impl.protocol.ClientMessage in project hazelcast by hazelcast.

the class BinaryCompatibilityFileGenerator method main.

public static void main(String[] args) throws IOException {
    OutputStream out = new FileOutputStream("1.4.protocol.compatibility.binary");
    DataOutputStream outputStream = new DataOutputStream(out);
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeRequest(aString, aString, aString, aString, aBoolean, aString, aByte, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeResponse(aByte, anAddress, aString, aString, aByte, aString, members);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeRequest(aData, aString, aString, aBoolean, aString, aByte, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeResponse(aByte, anAddress, aString, aString, aByte, aString, members);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeRequest(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberEvent(aMember, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberListEvent(members);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberAttributeChangeEvent(aString, aString, anInt, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeResponse(aPartitionTable);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeRequest(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodePartitionLostEvent(anInt, anInt, anAddress);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeResponse(distributedObjectInfos);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeRequest(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeDistributedObjectEvent(aString, aString, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeRequest(aString, aData, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeRequest(aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeRequest(aString, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeRequest(aString, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapInvalidationEvent(aData, aString, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapBatchInvalidationEvent(datas, strings, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeMapPartitionLostEvent(anInt, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeResponse(anEntryView);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeRequest(aString, datas, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeRequest(aString, aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeRequest(aString, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeRequest(aString, aData, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeRequest(aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeResponse(anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeResponse(anInt, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateWithPredicateCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateWithPredicateCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectWithPredicateCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchNearCacheInvalidationMetadataCodec.encodeRequest(strings, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchNearCacheInvalidationMetadataCodec.encodeResponse(aNamePartitionSequenceList, aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAssignAndGetUuidsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAssignAndGetUuidsCodec.encodeResponse(aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveAllCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeRequest(aString, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeIMapInvalidationEvent(aData, aString, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeIMapBatchInvalidationEvent(datas, strings, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = QueueAddListenerCodec.encodeItemEvent(aData, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeTopicEvent(aData, aLong, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ListAddListenerCodec.encodeItemEvent(aData, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeRequest(aString, anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeRequest(aString, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeRequest(aString, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeRequest(aString, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = SetAddListenerCodec.encodeItemEvent(aData, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeRequest(aString, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeRequest(aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeRequest(aString, aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeRequest(aString, aLong, aLong, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeRequest(aString, aLong, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeRequest(aString, aLong, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeRequest(aString, aLong, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeRequest(aString, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeRequest(aString, anAddress, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeRequest(aString, aString, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeRequest(aString, aString, aData, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeRequest(aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeRequest(aString, anInt, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeRequest(aString, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeEntryEvent(aData, aData, aData, aData, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeResponse(jobPartitionStates, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeRequest(aString, aString, aData, aData, aData, aData, aString, anInt, datas, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeRequest(aString, aString, aData, aData, aData, aData, aString, anInt, datas, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeRequest(aString, aString, aData, aData, aData, aData, aString, anInt, datas, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeRequest(aString, aString, aData, aData, aData, aData, aString, anInt, datas, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeRequest(aString, aString, aData, aData, aData, aData, aData, anInt, datas, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeRequest(aString, aString, aLong, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeRequest(aString, aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeRequest(aString, aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeCacheEvent(anInt, cacheEventDatas, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheInvalidationEvent(aString, aData, aString, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(aString, datas, strings, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeRequest(aString, datas, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeRequest(aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeRequest(aString, aData, aData, datas, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeRequest(aString, datas, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeRequest(aString, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeRequest(aString, aData, aData, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeResponse(anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeRequest(aString, aData, aBoolean, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeRequest(aString, datas, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeRequest(aString, aBoolean, aBoolean, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeRequest(aString, aData, aData, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeRequest(aString, aData, aData, aData, aBoolean, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeRequest(aString, aData, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeRequest(aString, aData, aData, aData, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeCachePartitionLostEvent(anInt, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeRequest(aString, aListOfEntry, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeResponse(anInt, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeCacheInvalidationEvent(aString, aData, aString, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(aString, datas, strings, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheFetchNearCacheInvalidationMetadataCodec.encodeRequest(strings, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheFetchNearCacheInvalidationMetadataCodec.encodeResponse(aNamePartitionSequenceList, aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAssignAndGetUuidsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAssignAndGetUuidsCodec.encodeResponse(aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeRequest(anXid);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeRequest(anXid, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeRequest(anXid, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeRequest(aLong, anInt, anInt, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheSingleEvent(aQueryCacheEventData);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheBatchEvent(queryCacheEventDatas, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeRequest(aString, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeRequest(aString, datas, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeRequest(aString, aLong, anInt, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeResponse(anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorAddCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorAddCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorEstimateCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorEstimateCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorShutdownCodec.encodeRequest(aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorShutdownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToPartitionCodec.encodeRequest(aString, aByte, aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToPartitionCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToAddressCodec.encodeRequest(aString, anAddress, aByte, aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToAddressCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetAllScheduledFuturesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetAllScheduledFuturesCodec.encodeResponse(taskHandlers);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromPartitionCodec.encodeResponse(aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromAddressCodec.encodeResponse(aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromPartitionCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromAddressCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromPartitionCodec.encodeRequest(aString, aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromAddressCodec.encodeRequest(aString, aString, anAddress, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromPartitionCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromAddressCodec.encodeResponse(aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromPartitionCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromAddressCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    outputStream.close();
    out.close();
}
Also used : DataOutputStream(java.io.DataOutputStream) DataOutputStream(java.io.DataOutputStream) OutputStream(java.io.OutputStream) FileOutputStream(java.io.FileOutputStream) FileOutputStream(java.io.FileOutputStream) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage)

Example 34 with ClientMessage

use of com.hazelcast.client.impl.protocol.ClientMessage in project hazelcast by hazelcast.

the class BinaryCompatibilityNullFileGenerator method main.

public static void main(String[] args) throws IOException {
    OutputStream out = new FileOutputStream("1.4.protocol.compatibility.null.binary");
    DataOutputStream outputStream = new DataOutputStream(out);
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeRequest(aString, aString, null, null, aBoolean, aString, aByte, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeResponse(aByte, null, null, null, aByte, aString, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeRequest(aData, null, null, aBoolean, aString, aByte, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeResponse(aByte, null, null, null, aByte, aString, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeRequest(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberEvent(aMember, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberListEvent(members);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberAttributeChangeEvent(aString, aString, anInt, null);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeResponse(aPartitionTable);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeRequest(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodePartitionLostEvent(anInt, anInt, null);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeResponse(distributedObjectInfos);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeRequest(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeDistributedObjectEvent(aString, aString, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeRequest(aString, aData, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeRequest(aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeRequest(aString, aBoolean, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeRequest(aString, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapInvalidationEvent(null, aString, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapBatchInvalidationEvent(datas, strings, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeMapPartitionLostEvent(anInt, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeRequest(aString, datas, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeRequest(aString, aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeRequest(aString, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeRequest(aString, aData, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeRequest(aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeResponse(anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeResponse(anInt, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateWithPredicateCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAggregateWithPredicateCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectWithPredicateCodec.encodeRequest(aString, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapProjectWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchNearCacheInvalidationMetadataCodec.encodeRequest(strings, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapFetchNearCacheInvalidationMetadataCodec.encodeResponse(aNamePartitionSequenceList, aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAssignAndGetUuidsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAssignAndGetUuidsCodec.encodeResponse(aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveAllCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapRemoveAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeRequest(aString, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeIMapInvalidationEvent(null, aString, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeIMapBatchInvalidationEvent(datas, strings, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeRequest(aString, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = QueueAddListenerCodec.encodeItemEvent(null, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeTopicEvent(aData, aLong, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ListAddListenerCodec.encodeItemEvent(null, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeRequest(aString, anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeRequest(aString, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeRequest(aString, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeRequest(aString, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeRequest(aString, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = SetAddListenerCodec.encodeItemEvent(null, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeRequest(aString, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeRequest(aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeRequest(aString, aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeRequest(aString, aLong, aLong, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeRequest(aString, aLong, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeRequest(aString, aLong, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeRequest(aString, aLong, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeRequest(aString, anInt, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeRequest(aString, anAddress, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeRequest(aString, aString, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeRequest(aString, aString, aData, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeRequest(aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeRequest(aString, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeRequest(aString, null, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeRequest(aString, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeRequest(aString, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeRequest(aString, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeRequest(aString, anInt, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeRequest(aString, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeResponse(jobPartitionStates, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeRequest(aString, aString, null, aData, null, null, aData, anInt, null, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeRequest(aString, aString, aLong, aData, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeRequest(aString, aString, aLong, aData, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeRequest(aString, aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeRequest(aString, aString, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeCacheEvent(anInt, cacheEventDatas, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheInvalidationEvent(aString, null, null, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(aString, datas, null, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeRequest(aString, datas, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeRequest(aData, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeRequest(aString, aData, aData, datas, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeRequest(aString, datas, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeRequest(aString, aData, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeRequest(aString, aData, aData, null, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeRequest(aString, aData, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeResponse(anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeRequest(aString, aData, aBoolean, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeRequest(aString, datas, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeRequest(aString, aBoolean, aBoolean, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeRequest(aString, aData, aData, null, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeRequest(aString, aData, aData, null, aBoolean, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeRequest(aString, aData, null, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeRequest(aString, aData, null, aData, null, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeCachePartitionLostEvent(anInt, aString);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeRequest(aString, aListOfEntry, null, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeResponse(anInt, aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeCacheInvalidationEvent(aString, null, null, aUUID, aLong);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(aString, datas, null, uuids, longs);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = CacheFetchNearCacheInvalidationMetadataCodec.encodeRequest(strings, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheFetchNearCacheInvalidationMetadataCodec.encodeResponse(aNamePartitionSequenceList, aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAssignAndGetUuidsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CacheAssignAndGetUuidsCodec.encodeResponse(aPartitionUuidList);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeRequest(anXid);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeRequest();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeRequest(anXid, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeRequest(anXid, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeRequest(aLong, anInt, anInt, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeResponse(aListOfEntry);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeResponse(datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeRequest(aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeResponse(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheSingleEvent(aQueryCacheEventData);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheBatchEvent(queryCacheEventDatas, aString, anInt);
            outputStream.writeInt(clientMessage.getFrameLength());
            outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
        }
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeRequest(aString, aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeRequest(aString, anInt, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeRequest(aString, datas, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeRequest(aString, aLong, anInt, anInt, null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeResponse(anInt, datas);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeRequest(aString, aData);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeResponse(anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeRequest(aString, anInt);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorAddCodec.encodeRequest(aString, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorAddCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorEstimateCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorEstimateCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorShutdownCodec.encodeRequest(aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorShutdownCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToPartitionCodec.encodeRequest(aString, aByte, aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToPartitionCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToAddressCodec.encodeRequest(aString, anAddress, aByte, aString, aData, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToAddressCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetAllScheduledFuturesCodec.encodeRequest(aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetAllScheduledFuturesCodec.encodeResponse(taskHandlers);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromPartitionCodec.encodeResponse(aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromAddressCodec.encodeResponse(aLong, aLong, aLong, aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromPartitionCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromAddressCodec.encodeResponse(aLong);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromPartitionCodec.encodeRequest(aString, aString, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromAddressCodec.encodeRequest(aString, aString, anAddress, aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromPartitionCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromAddressCodec.encodeResponse(aBoolean);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromPartitionCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromAddressCodec.encodeResponse(null);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromPartitionCodec.encodeRequest(aString, aString);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromPartitionCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromAddressCodec.encodeRequest(aString, aString, anAddress);
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromAddressCodec.encodeResponse();
        outputStream.writeInt(clientMessage.getFrameLength());
        outputStream.write(clientMessage.buffer().byteArray(), 0, clientMessage.getFrameLength());
    }
    outputStream.close();
    out.close();
}
Also used : DataOutputStream(java.io.DataOutputStream) DataOutputStream(java.io.DataOutputStream) OutputStream(java.io.OutputStream) FileOutputStream(java.io.FileOutputStream) FileOutputStream(java.io.FileOutputStream) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage)

Example 35 with ClientMessage

use of com.hazelcast.client.impl.protocol.ClientMessage in project hazelcast by hazelcast.

the class MapMessageEncodeDecodeTest method shouldEncodeDecodeCorrectly_PUT.

@Test
public void shouldEncodeDecodeCorrectly_PUT() {
    final int calculatedSize = MapPutCodec.RequestParameters.calculateDataSize(NAME, DATA, DATA, THE_LONG, THE_LONG);
    ClientMessage cmEncode = MapPutCodec.encodeRequest(NAME, DATA, DATA, THE_LONG, THE_LONG);
    cmEncode.setVersion((short) 3).addFlag(ClientMessage.BEGIN_AND_END_FLAGS).setCorrelationId(Long.MAX_VALUE).setPartitionId(77);
    assertTrue(calculatedSize > cmEncode.getFrameLength());
    byteBuffer = cmEncode.buffer();
    ClientMessage cmDecode = ClientMessage.createForDecode(byteBuffer, 0);
    MapPutCodec.RequestParameters decodeParams = MapPutCodec.decodeRequest(cmDecode);
    assertEquals(MapPutCodec.REQUEST_TYPE.id(), cmDecode.getMessageType());
    assertEquals(3, cmDecode.getVersion());
    assertEquals(ClientMessage.BEGIN_AND_END_FLAGS, cmDecode.getFlags());
    assertEquals(Long.MAX_VALUE, cmDecode.getCorrelationId());
    assertEquals(77, cmDecode.getPartitionId());
    assertEquals(NAME, decodeParams.name);
    assertEquals(DATA, decodeParams.key);
    assertEquals(DATA, decodeParams.value);
    assertEquals(THE_LONG, decodeParams.threadId);
    assertEquals(THE_LONG, decodeParams.ttl);
}
Also used : MapPutCodec(com.hazelcast.client.impl.protocol.codec.MapPutCodec) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) QuickTest(com.hazelcast.test.annotation.QuickTest) Test(org.junit.Test)

Aggregations

ClientMessage (com.hazelcast.client.impl.protocol.ClientMessage)377 Data (com.hazelcast.nio.serialization.Data)140 ClientInvocation (com.hazelcast.client.spi.impl.ClientInvocation)47 ClientInvocationFuture (com.hazelcast.client.spi.impl.ClientInvocationFuture)37 SafeBuffer (com.hazelcast.client.impl.protocol.util.SafeBuffer)29 Address (com.hazelcast.nio.Address)25 QuickTest (com.hazelcast.test.annotation.QuickTest)24 Test (org.junit.Test)24 ClientDelegatingFuture (com.hazelcast.client.util.ClientDelegatingFuture)21 DataInputStream (java.io.DataInputStream)20 InputStream (java.io.InputStream)20 CacheEventData (com.hazelcast.cache.impl.CacheEventData)19 ParallelTest (com.hazelcast.test.annotation.ParallelTest)19 Member (com.hazelcast.core.Member)18 SerializationService (com.hazelcast.spi.serialization.SerializationService)18 ExecutionException (java.util.concurrent.ExecutionException)18 UnmodifiableLazyList (com.hazelcast.spi.impl.UnmodifiableLazyList)16 ArrayList (java.util.ArrayList)16 QueryCacheEventData (com.hazelcast.map.impl.querycache.event.QueryCacheEventData)13 CacheException (javax.cache.CacheException)13