Package com.swiftmq.mgmt.protocol.v750
Class ConnectReply
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Reply
-
- com.swiftmq.mgmt.protocol.v750.ConnectReply
-
- All Implemented Interfaces:
Dumpable,java.io.Serializable
public class ConnectReply extends Reply
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectReply()ConnectReply(java.lang.String routerName, boolean authRequired, java.lang.String crFactory, java.io.Serializable challenge, long leaseTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.SerializablegetChallenge()java.lang.StringgetCrFactory()intgetDumpId()Returns a unique dump id for this object.longgetLeaseTimeout()java.lang.StringgetRouterName()booleanisAuthRequired()voidreadContent(java.io.DataInput in)Read the content of this object from the stream.voidsetAuthRequired(boolean authRequired)voidsetChallenge(java.io.Serializable challenge)voidsetCrFactory(java.lang.String crFactory)voidsetLeaseTimeout(long leaseTimeout)voidsetRouterName(java.lang.String routerName)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.Reply
getException, isOk, isTimeout, send, setException, setOk, setTimeout
-
-
-
-
Method Detail
-
getRouterName
public java.lang.String getRouterName()
-
setRouterName
public void setRouterName(java.lang.String routerName)
-
isAuthRequired
public boolean isAuthRequired()
-
setAuthRequired
public void setAuthRequired(boolean authRequired)
-
getCrFactory
public java.lang.String getCrFactory()
-
setCrFactory
public void setCrFactory(java.lang.String crFactory)
-
getChallenge
public java.io.Serializable getChallenge()
-
setChallenge
public void setChallenge(java.io.Serializable challenge)
-
getLeaseTimeout
public long getLeaseTimeout()
-
setLeaseTimeout
public void setLeaseTimeout(long leaseTimeout)
-
getDumpId
public int getDumpId()
Description copied from class:ReplyReturns a unique dump id for this object.
-
writeContent
public void writeContent(java.io.DataOutput out) throws java.io.IOExceptionDescription copied from class:ReplyWrite the content of this object to the stream.- Specified by:
writeContentin interfaceDumpable- Overrides:
writeContentin classReply- 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 class:ReplyRead the content of this object from the stream.- Specified by:
readContentin interfaceDumpable- Overrides:
readContentin classReply- Parameters:
in- input stream- Throws:
java.io.IOException- if an error occurs
-
-