Package com.swiftmq.jms.smqp.v750
Class CreateSessionRequest
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Request
-
- com.swiftmq.jms.smqp.v750.CreateSessionRequest
-
- All Implemented Interfaces:
Dumpable,java.io.Serializable
public class CreateSessionRequest extends Request
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intQUEUE_SESSIONstatic intTOPIC_SESSIONstatic intUNIFIED-
Fields inherited from class com.swiftmq.tools.requestreply.Request
_sem, NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description CreateSessionRequest()CreateSessionRequest(int dispatchId)CreateSessionRequest(int dispatchId, boolean transacted, int acknowledgeMode, int type, int recoveryEpoche)CreateSessionRequest(RequestRetryValidator validator, int dispatchId)CreateSessionRequest(RequestRetryValidator validator, int dispatchId, boolean transacted, int acknowledgeMode, int type, int recoveryEpoche)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RequestVisitor visitor)protected ReplycreateReplyInstance()intgetAcknowledgeMode()intgetDumpId()Returns a unique dump id for this object.intgetRecoveryEpoche()intgetType()booleanisTransacted()voidreadContent(java.io.DataInput in)Read the content of this object from the stream.voidsetAcknowledgeMode(int acknowledgeMode)voidsetRecoveryEpoche(int recoveryEpoche)voidsetTransacted(boolean transacted)voidsetType(int type)java.lang.StringtoString()voidwriteContent(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
-
QUEUE_SESSION
public static final int QUEUE_SESSION
- See Also:
- Constant Field Values
-
TOPIC_SESSION
public static final int TOPIC_SESSION
- See Also:
- Constant Field Values
-
UNIFIED
public static final int UNIFIED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateSessionRequest
public CreateSessionRequest()
-
CreateSessionRequest
public CreateSessionRequest(int dispatchId)
-
CreateSessionRequest
public CreateSessionRequest(RequestRetryValidator validator, int dispatchId)
-
CreateSessionRequest
public CreateSessionRequest(int dispatchId, boolean transacted, int acknowledgeMode, int type, int recoveryEpoche)
-
CreateSessionRequest
public CreateSessionRequest(RequestRetryValidator validator, int dispatchId, boolean transacted, int acknowledgeMode, int type, int recoveryEpoche)
-
-
Method Detail
-
isTransacted
public boolean isTransacted()
-
setTransacted
public void setTransacted(boolean transacted)
-
getAcknowledgeMode
public int getAcknowledgeMode()
-
setAcknowledgeMode
public void setAcknowledgeMode(int acknowledgeMode)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getRecoveryEpoche
public int getRecoveryEpoche()
-
setRecoveryEpoche
public void setRecoveryEpoche(int recoveryEpoche)
-
getDumpId
public int getDumpId()
Description copied from interface:DumpableReturns a unique dump id for this object.
-
writeContent
public void writeContent(java.io.DataOutput out) throws java.io.IOExceptionDescription copied from interface:DumpableWrite the content of this object to the stream.- Specified by:
writeContentin interfaceDumpable- Overrides:
writeContentin classRequest- Parameters:
out- output stream- Throws:
java.io.IOException- if an error occurs
-
readContent
public void readContent(java.io.DataInput in) throws java.io.IOExceptionDescription copied from interface:DumpableRead the content of this object from the stream.- Specified by:
readContentin interfaceDumpable- Overrides:
readContentin classRequest- Parameters:
in- input stream- Throws:
java.io.IOException- if an error occurs
-
createReplyInstance
protected Reply createReplyInstance()
- Specified by:
createReplyInstancein classRequest
-
accept
public void accept(RequestVisitor visitor)
-
-