All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.basho.riak.pbc.RiakMessageCodes Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
/**
 * This file is part of riak-java-pb-client 
 *
 * Copyright (c) 2010 by Trifork
 *
 * 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.basho.riak.pbc;

/**
 * PBC API message code constants.
 */
interface RiakMessageCodes {
	public static final int MSG_ErrorResp = 0;
	public static final int MSG_PingReq = 1;
	public static final int MSG_PingResp = 2;
	public static final int MSG_GetClientIdReq = 3;
	public static final int MSG_GetClientIdResp = 4;
	public static final int MSG_SetClientIdReq = 5;
	public static final int MSG_SetClientIdResp = 6;
	public static final int MSG_GetServerInfoReq = 7;
	public static final int MSG_GetServerInfoResp = 8;
	public static final int MSG_GetReq = 9;
	public static final int MSG_GetResp = 10;
	public static final int MSG_PutReq = 11;
	public static final int MSG_PutResp = 12;
	public static final int MSG_DelReq = 13;
	public static final int MSG_DelResp = 14;
	public static final int MSG_ListBucketsReq = 15;
	public static final int MSG_ListBucketsResp = 16;
	public static final int MSG_ListKeysReq = 17;
	public static final int MSG_ListKeysResp = 18;
	public static final int MSG_GetBucketReq = 19;
	public static final int MSG_GetBucketResp = 20;
	public static final int MSG_SetBucketReq = 21;
	public static final int MSG_SetBucketResp = 22;
	public static final int MSG_MapRedReq = 23;
	public static final int MSG_MapRedResp = 24;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy