public abstract class Msg extends java.lang.Object implements java.lang.Cloneable, Message
public static final MRuntimeException RUNTIME_EXCEPTION
public static final MClassID CLASS_ID
public static final MClassMetadataIdForName CLASS_METADATA_ID_FOR_NAME
public static final MClassNameForID CLASS_NAME_FOR_ID
public static final MClose CLOSE
public static final MCloseSocket CLOSE_SOCKET
public static final MCommit COMMIT
public static final MCommittedCallBackRegistry COMMITTED_CALLBACK_REGISTER
public static final MCommittedInfo COMMITTED_INFO
public static final MCommitSystemTransaction COMMIT_SYSTEMTRANS
public static final MCreateClass CREATE_CLASS
public static final MClassMeta CLASS_META
public static final MVersion CURRENT_VERSION
public static final MDelete DELETE
public static final MError ERROR
public static final MFailed FAILED
public static final MGetAll GET_ALL
public static final MGetClasses GET_CLASSES
public static final MGetInternalIDs GET_INTERNAL_IDS
public static final MGetThreadID GET_THREAD_ID
public static final MIDList ID_LIST
public static final MIdentity IDENTITY
public static final MIsAlive IS_ALIVE
public static final MLength LENGTH
public static final MLogin LOGIN
public static final MLoginOK LOGIN_OK
public static final MNull NULL
public static final MObjectByUuid OBJECT_BY_UUID
public static final MsgObject OBJECT_TO_CLIENT
public static final MObjectSetFetch OBJECTSET_FETCH
public static final MObjectSetFinalized OBJECTSET_FINALIZED
public static final MObjectSetGetId OBJECTSET_GET_ID
public static final MObjectSetIndexOf OBJECTSET_INDEXOF
public static final MObjectSetReset OBJECTSET_RESET
public static final MObjectSetSize OBJECTSET_SIZE
public static final MOK OK
public static final MPing PING
public static final MPong PONG
public static final MPrefetchIDs PREFETCH_IDS
public static final MProcessDeletes PROCESS_DELETES
public static final MQueryExecute QUERY_EXECUTE
public static final MQueryResult QUERY_RESULT
public static final MRaiseCommitTimestamp RAISE_COMMIT_TIMESTAMP
public static final MReadBlob READ_BLOB
public static final MReadBytes READ_BYTES
public static final MReadSlot READ_SLOT
public static final MReadMultipleObjects READ_MULTIPLE_OBJECTS
public static final MReadObject READ_OBJECT
public static final MReadReaderById READ_READER_BY_ID
public static final MReleaseSemaphore RELEASE_SEMAPHORE
public static final MRollback ROLLBACK
public static final MSetSemaphore SET_SEMAPHORE
public static final MSuccess SUCCESS
public static final MSwitchToFile SWITCH_TO_FILE
public static final MSwitchToMainFile SWITCH_TO_MAIN_FILE
public static final MTaDelete TA_DELETE
public static final MTaIsDeleted TA_IS_DELETED
public static final MUserMessage USER_MESSAGE
public static final MUseTransaction USE_TRANSACTION
public static final MWriteBlob WRITE_BLOB
public static final MWriteNew WRITE_NEW
public static final MWriteUpdate WRITE_UPDATE
public static final MWriteBatchedMessages WRITE_BATCHED_MESSAGES
public static final MsgBlob DELETE_BLOB_FILE
public static final MInstanceCount INSTANCE_COUNT
public static final MRequestExceptionWithResponse REQUEST_EXCEPTION_WITH_RESPONSE
public static final MRequestExceptionWithoutResponse REQUEST_EXCEPTION_WITHOUT_RESPONSE
public static final MCommitReplication COMMIT_REPLICATION
public static final MGenerateTransactionTimestamp GENERATE_TRANSACTION_TIMESTAMP
public static final MVersionForId VERSION_FOR_ID
public static final MUseDefaultTransactionTimestamp USE_DEFAULT_TRANSACTION_TIMESTAMP
public static Msg getMessage(int id)
public final Msg publicClone()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic ByteArrayBuffer getByteLoad()
protected LocalTransaction serverTransaction()
protected Transaction transaction()
protected LocalObjectContainer localContainer()
protected ObjectContainerBase container()
protected java.lang.Object containerLock()
protected Config4Impl config()
protected static StatefulBuffer readMessageBuffer(Transaction trans, Socket4Adapter socket) throws Db4oIOException
Db4oIOExceptionprotected static StatefulBuffer readMessageBuffer(Transaction trans, Socket4Adapter socket, int length) throws Db4oIOException
Db4oIOExceptionpublic static final Msg readMessage(MessageDispatcher messageDispatcher, Transaction trans, Socket4Adapter socket) throws Db4oIOException
Db4oIOExceptionprotected final Transaction checkParentTransaction(Transaction a_trans, ByteArrayBuffer reader)
public final void setTransaction(Transaction aTrans)
public final java.lang.String toString()
toString in class java.lang.Objectpublic void write(Msg msg)
public void writeException(java.lang.RuntimeException e)
public Msg respondInt(int response)
public boolean write(Socket4Adapter sock)
public StatefulBuffer payLoad()
public MessageDispatcher messageDispatcher()
public ServerMessageDispatcher serverMessageDispatcher()
public ClientMessageDispatcher clientMessageDispatcher()
public void setMessageDispatcher(MessageDispatcher messageDispatcher)
public void logMsg(int msgCode,
java.lang.String msg)
public void postProcessAtServer()
protected Transaction systemTransaction()