Package com.swiftmq.mgmt.protocol.v750
Class ConnectRequest
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Request
-
- com.swiftmq.mgmt.protocol.v750.ConnectRequest
-
- All Implemented Interfaces:
Dumpable,java.io.Serializable
public class ConnectRequest extends Request
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.swiftmq.tools.requestreply.Request
_sem, NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description ConnectRequest()ConnectRequest(int connectId, java.lang.String hostname, java.lang.String toolName, boolean subscribeRouteInfos, boolean subscribeRouterConfig, boolean subscribeChangeEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RequestVisitor visitor)protected ReplycreateReplyInstance()intgetConnectId()intgetDumpId()Returns a unique dump id for this object.java.lang.StringgetHostname()java.lang.StringgetToolName()booleanisSubscribeChangeEvents()booleanisSubscribeRouteInfos()booleanisSubscribeRouterConfig()voidreadContent(java.io.DataInput in)Read the content of this object from the stream.voidsetConnectId(int connectId)voidsetHostname(java.lang.String hostname)voidsetSubscribeChangeEvents(boolean subscribeChangeEvents)voidsetSubscribeRouteInfos(boolean subscribeRouteInfos)voidsetSubscribeRouterConfig(boolean subscribeRouterConfig)voidsetToolName(java.lang.String toolName)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
-
-
-
-
Method Detail
-
getConnectId
public int getConnectId()
-
setConnectId
public void setConnectId(int connectId)
-
getHostname
public java.lang.String getHostname()
-
setHostname
public void setHostname(java.lang.String hostname)
-
getToolName
public java.lang.String getToolName()
-
setToolName
public void setToolName(java.lang.String toolName)
-
isSubscribeRouteInfos
public boolean isSubscribeRouteInfos()
-
setSubscribeRouteInfos
public void setSubscribeRouteInfos(boolean subscribeRouteInfos)
-
isSubscribeRouterConfig
public boolean isSubscribeRouterConfig()
-
setSubscribeRouterConfig
public void setSubscribeRouterConfig(boolean subscribeRouterConfig)
-
isSubscribeChangeEvents
public boolean isSubscribeChangeEvents()
-
setSubscribeChangeEvents
public void setSubscribeChangeEvents(boolean subscribeChangeEvents)
-
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)
-
-