Class AdjustRequest
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Request
-
- com.swiftmq.impl.routing.single.smqpr.v942.AdjustRequest
-
- All Implemented Interfaces:
Dumpable
,java.io.Serializable
public class AdjustRequest 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 AdjustRequest(int transactionSize, int windowSize)
-
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
getTransactionSize()
int
getWindowSize()
void
readContent(java.io.DataInput input)
Read the content of this object from the stream.void
setTransactionSize(int transactionSize)
void
setWindowSize(int windowSize)
java.lang.String
toString()
void
writeContent(java.io.DataOutput output)
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
-
getDumpId
public int getDumpId()
Description copied from interface:Dumpable
Returns a unique dump id for this object.
-
writeContent
public void writeContent(java.io.DataOutput output) throws java.io.IOException
Description copied from interface:Dumpable
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Overrides:
writeContent
in classRequest
- Parameters:
output
- output stream- Throws:
java.io.IOException
- if an error occurs
-
readContent
public void readContent(java.io.DataInput input) throws java.io.IOException
Description copied from interface:Dumpable
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Overrides:
readContent
in classRequest
- Parameters:
input
- input stream- Throws:
java.io.IOException
- if an error occurs
-
getTransactionSize
public int getTransactionSize()
-
setTransactionSize
public void setTransactionSize(int transactionSize)
-
getWindowSize
public int getWindowSize()
-
setWindowSize
public void setWindowSize(int windowSize)
-
createReplyInstance
protected Reply createReplyInstance()
- Specified by:
createReplyInstance
in classRequest
-
accept
public void accept(RequestVisitor visitor)
-
-