insa.projets.NetworkPackage
Class Protocol
java.lang.Object
insa.projets.NetworkPackage.Protocol
public class Protocol
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_CODE_OP
static final int MAX_CODE_OP
- See Also:
- Constant Field Values
MAX_ERROR
static final int MAX_ERROR
- See Also:
- Constant Field Values
messages
private static java.lang.String[] messages
errorMessages
private static java.lang.String[] errorMessages
errorParams
private static short[] errorParams
shortMessages
private static boolean shortMessages
interleaveCodeOp
static final int interleaveCodeOp
- See Also:
- Constant Field Values
endCodeOp
static final byte endCodeOp
- See Also:
- Constant Field Values
endParam
static final short endParam
- See Also:
- Constant Field Values
errorCodeOp
static final byte errorCodeOp
- See Also:
- Constant Field Values
errorDefaultMessage
private static final java.lang.String errorDefaultMessage
- See Also:
- Constant Field Values
Protocol
public Protocol()
initMessages
public static void initMessages(boolean sm)
getMessage
public static java.lang.String getMessage(int codeOp)
getMessage
public static java.lang.String getMessage(byte codeOp)
getErrorMessage
public static java.lang.String getErrorMessage(int param)
getErrorMessage
public static java.lang.String getErrorMessage(short param)
setShortMessages
public static void setShortMessages(boolean sm)
isShortMessages
public static boolean isShortMessages()