com.hazelcast.client.impl.protocol.constants.ResponseMessageConst Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hazelcast.client.impl.protocol.constants;
import com.hazelcast.annotation.Since;
/**
* Message type ids of responses in client protocol. They also used to bind a request to a response inside Request
* annotation.
*
* Response classes are defined {@link com.hazelcast.client.impl.protocol.template.ResponseTemplate}
*
* see {@link com.hazelcast.client.impl.protocol.template.ClientMessageTemplate#addMembershipListener(boolean)} ()}
* for a sample usage of responses in a request.
*/
@SuppressWarnings("checkstyle:javadocvariable")
public final class ResponseMessageConst {
public static final int VOID = 100;
public static final int BOOLEAN = 101;
public static final int INTEGER = 102;
public static final int LONG = 103;
public static final int STRING = 104;
public static final int DATA = 105;
public static final int LIST_DATA = 106;
public static final int AUTHENTICATION = 107;
public static final int PARTITIONS = 108;
public static final int EXCEPTION = 109;
public static final int LIST_DISTRIBUTED_OBJECT = 110;
public static final int ENTRY_VIEW = 111;
public static final int JOB_PROCESS_INFO = 112;
//public static final int SET_DATA = 113;
//public static final int SET_ENTRY = 114;
public static final int READ_RESULT_SET = 115;
public static final int CACHE_KEY_ITERATOR_RESULT = 116;
public static final int LIST_ENTRY = 117;
public static final int ENTRIES_WITH_CURSOR = 118;
public static final int LIST_DATA_MAYBE_NULL_ELEMENTS = 119;
@Since("1.4") public static final int SCHEDULED_TASK_STATISTICS = 120;
@Since("1.4") public static final int ALL_SCHEDULED_TASK_HANDLERS = 121;
@Since("1.4") public static final int NEAR_CACHE_INVALIDATION_META_DATA = 122;
@Since("1.4") public static final int LIST_ENTRY_PARTITION_UUID = 123;
private ResponseMessageConst() {
}
}