Package com.db4o.cs.internal.messages
Class MsgD
- java.lang.Object
-
- com.db4o.cs.internal.messages.Msg
-
- com.db4o.cs.internal.messages.MsgD
-
- All Implemented Interfaces:
Message
,java.lang.Cloneable
- Direct Known Subclasses:
MClassID
,MClassMetadataIdForName
,MClassNameForID
,MCommit
,MCommittedInfo
,MCreateClass
,MDelete
,MGenerateTransactionTimestamp
,MGetClasses
,MGetInternalIDs
,MIDList
,MInstanceCount
,MLength
,MLogin
,MLoginOK
,MObjectByUuid
,MObjectSet
,MObjectSetFinalized
,MPrefetchIDs
,MQueryResult
,MRaiseCommitTimestamp
,MReadBytes
,MReadMultipleObjects
,MReadObject
,MReadReaderById
,MReadSlot
,MReleaseSemaphore
,MRequestExceptionWithoutResponse
,MRequestExceptionWithResponse
,MRuntimeException
,MSetSemaphore
,MsgBlob
,MsgObject
,MSwitchToFile
,MTaDelete
,MTaIsDeleted
,MUseTransaction
,MVersionForId
,MWriteBatchedMessages
public class MsgD extends Msg
Messages with Data for Client/Server Communication
-
-
Field Summary
-
Fields inherited from class com.db4o.cs.internal.messages.Msg
CLASS_ID, CLASS_META, CLASS_METADATA_ID_FOR_NAME, CLASS_NAME_FOR_ID, CLOSE, CLOSE_SOCKET, COMMIT, COMMIT_REPLICATION, COMMIT_SYSTEMTRANS, COMMITTED_CALLBACK_REGISTER, COMMITTED_INFO, CREATE_CLASS, CURRENT_VERSION, DELETE, DELETE_BLOB_FILE, ERROR, FAILED, GENERATE_TRANSACTION_TIMESTAMP, GET_ALL, GET_CLASSES, GET_INTERNAL_IDS, GET_THREAD_ID, ID_LIST, IDENTITY, INSTANCE_COUNT, IS_ALIVE, LENGTH, LOGIN, LOGIN_OK, NULL, OBJECT_BY_UUID, OBJECT_TO_CLIENT, OBJECTSET_FETCH, OBJECTSET_FINALIZED, OBJECTSET_GET_ID, OBJECTSET_INDEXOF, OBJECTSET_RESET, OBJECTSET_SIZE, OK, PING, PONG, PREFETCH_IDS, PROCESS_DELETES, QUERY_EXECUTE, QUERY_RESULT, RAISE_COMMIT_TIMESTAMP, READ_BLOB, READ_BYTES, READ_MULTIPLE_OBJECTS, READ_OBJECT, READ_READER_BY_ID, READ_SLOT, RELEASE_SEMAPHORE, REQUEST_EXCEPTION_WITH_RESPONSE, REQUEST_EXCEPTION_WITHOUT_RESPONSE, ROLLBACK, RUNTIME_EXCEPTION, SET_SEMAPHORE, SUCCESS, SWITCH_TO_FILE, SWITCH_TO_MAIN_FILE, TA_DELETE, TA_IS_DELETED, USE_DEFAULT_TRANSACTION_TIMESTAMP, USE_TRANSACTION, USER_MESSAGE, VERSION_FOR_ID, WRITE_BATCHED_MESSAGES, WRITE_BLOB, WRITE_NEW, WRITE_UPDATE
-
-
Method Summary
-
Methods inherited from class com.db4o.cs.internal.messages.Msg
checkParentTransaction, clientMessageDispatcher, config, container, containerLock, equals, getMessage, hashCode, localContainer, logMsg, messageDispatcher, postProcessAtServer, publicClone, readMessage, readMessageBuffer, readMessageBuffer, respondInt, serverMessageDispatcher, serverTransaction, setMessageDispatcher, setTransaction, systemTransaction, toString, transaction, write, write, writeException
-
-
-
-
Method Detail
-
getByteLoad
public ByteArrayBuffer getByteLoad()
Description copied from class:Msg
dummy method to allow clean override handling without casting- Overrides:
getByteLoad
in classMsg
-
payLoad
public final StatefulBuffer payLoad()
-
payLoad
public void payLoad(StatefulBuffer writer)
-
getWriterForByte
public final MsgD getWriterForByte(Transaction trans, byte b)
-
getWriterForBuffer
public final MsgD getWriterForBuffer(Transaction trans, ByteArrayBuffer buffer)
-
getWriterForLength
public final MsgD getWriterForLength(Transaction trans, int length)
-
getWriter
public final MsgD getWriter(Transaction trans)
-
getWriterForInts
public final MsgD getWriterForInts(Transaction trans, int... ints)
-
getWriterForIntArray
public final MsgD getWriterForIntArray(Transaction a_trans, int[] ints, int length)
-
getWriterForIntSequence
public MsgD getWriterForIntSequence(Transaction trans, int length, Iterator4 iterator)
-
getWriterForInt
public final MsgD getWriterForInt(Transaction a_trans, int id)
-
getWriterForIntString
public final MsgD getWriterForIntString(Transaction a_trans, int anInt, java.lang.String str)
-
getWriterForLong
public final MsgD getWriterForLong(Transaction a_trans, long a_long)
-
getWriterForLongs
public final MsgD getWriterForLongs(Transaction trans, long... longs)
-
getWriterForSingleObject
public MsgD getWriterForSingleObject(Transaction trans, java.lang.Object obj)
-
getWriterForString
public final MsgD getWriterForString(Transaction a_trans, java.lang.String str)
-
getWriter
public MsgD getWriter(StatefulBuffer bytes)
-
readBytes
public byte[] readBytes()
-
readInt
public final int readInt()
-
readLong
public final long readLong()
-
readBoolean
public final boolean readBoolean()
-
readObjectFromPayLoad
public java.lang.Object readObjectFromPayLoad()
-
readString
public final java.lang.String readString()
-
readSingleObject
public java.lang.Object readSingleObject()
-
writeBytes
public final void writeBytes(byte[] aBytes)
-
writeInt
public final void writeInt(int aInt)
-
writeLong
public final void writeLong(long l)
-
writeString
public final void writeString(java.lang.String aStr)
-
-