Package com.swiftmq.jms.smqp.v400
Class CloseSessionRequest
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Request
-
- com.swiftmq.jms.smqp.v400.CloseSessionRequest
-
- All Implemented Interfaces:
Dumpable
,java.io.Serializable
public class CloseSessionRequest extends Request
- Version:
- 1.0
- Author:
- Andreas Mueller, IIT GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Semaphore
sem
-
Fields inherited from class com.swiftmq.tools.requestreply.Request
_sem, NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description CloseSessionRequest(int sessionDispatchId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(RequestVisitor visitor)
protected Reply
createReplyInstance()
int
getDumpId()
Returns a unique dump id for this object.int
getSessionDispatchId()
void
readContent(java.io.DataInput in)
Read the content of this object from the stream.void
setSessionDispatchId(int sessionDispatchId)
java.lang.String
toString()
Method declarationvoid
writeContent(java.io.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
-
-
-
-
Field Detail
-
sem
public transient Semaphore sem
-
-
Method Detail
-
getDumpId
public int getDumpId()
Returns a unique dump id for this object.
-
writeContent
public void writeContent(java.io.DataOutput out) throws java.io.IOException
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Overrides:
writeContent
in classRequest
- Parameters:
out
- output stream- Throws:
java.io.IOException
- if an error occurs
-
readContent
public void readContent(java.io.DataInput in) throws java.io.IOException
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Overrides:
readContent
in classRequest
- Parameters:
in
- input stream- Throws:
java.io.IOException
- if an error occurs
-
createReplyInstance
protected Reply createReplyInstance()
- Specified by:
createReplyInstance
in classRequest
- Returns:
-
getSessionDispatchId
public int getSessionDispatchId()
- Returns:
-
setSessionDispatchId
public void setSessionDispatchId(int sessionDispatchId)
- Parameters:
sessionDispatchId
-
-
accept
public void accept(RequestVisitor visitor)
-
-