com.alachisoft.ncache.client.internal.command.CommandOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncache-professional-client Show documentation
Show all versions of ncache-professional-client Show documentation
NCache Professional client for java.
/*
* CommandOptions.java
*
* Created on September 14, 2006, 3:26 PM
*
* Copyright 2005 Alachisoft, Inc. All rights reserved.
* ALACHISOFT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.alachisoft.ncache.client.internal.command;
/**
* @author Administrator
*/
public final class CommandOptions {
public static final int COMMAND_SIZE = 10;
public static final int DATA_SIZE = 10;
public static final int REQUESTSIZE = 8;
public static final int TOTAL_SIZE = COMMAND_SIZE + DATA_SIZE;
public static final String EXC_INITIAL = "EXCEPTION";
/* Notification Modifier constants */
/**
* This flag indicates that the Control key was down when the event
* occurred.
*/
public static final int UPDATE_NOTIF_MASK = 1 << 1;
/**
* This flag indicates that the Meta key was down when the event occurred.
* For mouse events, this flag indicates that the right button was pressed
* or released.
*/
public static final int REMOVE_NOTIF_MASK = 1 << 2;
/**
* This flag indicates that the Alt key was down when the event occurred.
* For mouse events, this flag indicates that the middle mouse button was
* pressed or released.
*/
public static final int CLEAR_NOTIF_MASK = 1 << 3;
/**
* This flag indicates that the Add notificatoin is enabled.
*/
static final int ADD_NOTIF_MASK = 1;
}