Package com.swiftmq.mgmt.protocol
Class ProtocolRequest
java.lang.Object
com.swiftmq.tools.requestreply.Request
com.swiftmq.mgmt.protocol.ProtocolRequest
- All Implemented Interfaces:
Dumpable
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.swiftmq.tools.requestreply.Request
_sem, NO_TIMEOUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RequestVisitor visitor) protected Reply
int
Returns a unique dump id for this object.int
void
readContent
(DataInput in) Read the content of this object from the stream.void
setVersion
(int version) toString()
void
writeContent
(DataOutput out) Write the content of this object to the stream.Methods inherited from class com.swiftmq.tools.requestreply.Request
createReply, getConnectionId, getCorrelationId, getDispatchId, getValidator, isCancelledByValidator, isDoRetry, isReplyRequired, isWasRetry, setCancelledByValidator, setConnectionId, setCorrelationId, setDispatchId, setDoRetry, setReplyRequired, setValidator
-
Constructor Details
-
ProtocolRequest
public ProtocolRequest(int version) -
ProtocolRequest
public ProtocolRequest()
-
-
Method Details
-
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
getDumpId
public int getDumpId()Description copied from interface:Dumpable
Returns a unique dump id for this object. -
writeContent
Description copied from interface:Dumpable
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Overrides:
writeContent
in classRequest
- Parameters:
out
- output stream- Throws:
IOException
- if an error occurs
-
readContent
Description copied from interface:Dumpable
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Overrides:
readContent
in classRequest
- Parameters:
in
- input stream- Throws:
IOException
- if an error occurs
-
createReplyInstance
- Specified by:
createReplyInstance
in classRequest
-
accept
-
toString
-