Package com.j_spaces.core
Class AnswerPacket
java.lang.Object
com.j_spaces.core.AnswerPacket
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
This internal class for communication between client/server protocol. Essentially this class
transfered as result from read/take operations from server to client.
- Version:
- 1.0
- Author:
- Igor Goldenberg
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionnon null iff update-or-write resulted in a writestatic final AnswerPacket -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor for externelizable implementation.AnswerPacket(WriteEntryResult writeEntryResult) AnswerPacket(IEntryPacket entryPacket) AnswerPacket(IEntryPacket entryPacket, WriteEntryResult writeResult) AnswerPacket(LeaseContext lease) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
NullPacket
-
m_EntryPacket
-
m_leaseProxy
non null iff update-or-write resulted in a write
-
-
Constructor Details
-
AnswerPacket
public AnswerPacket()default constructor for externelizable implementation. -
AnswerPacket
-
AnswerPacket
-
AnswerPacket
-
AnswerPacket
-
-
Method Details
-
getWriteEntryResult
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
isDummy
public boolean isDummy() -
toString
-