org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Channel.Flow
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Channel.Flow
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Channel
public static class AMQP.Channel.Flow
- extends AbstractMarshallingMethod
This method asks the peer to pause or restart the flow of content data
sent by a consumer. This is a simple flow-control mechanism that a peer
can use to avoid overflowing its queues or otherwise finding itself
receiving more messages than it can process. Note that this method is not
intended for window control. It does not affect contents returned by
Basic.Get-Ok methods.
Field Summary |
boolean |
active
If 1, the peer starts sending content frames. |
static int |
INDEX
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
active
public boolean active
- If 1, the peer starts sending content frames. If 0, the peer stops sending content frames.
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Channel.Flow
public AMQP.Channel.Flow(boolean active)
- This method asks the peer to pause or restart the flow of content data
sent by a consumer. This is a simple flow-control mechanism that a peer
can use to avoid overflowing its queues or otherwise finding itself
receiving more messages than it can process. Note that this method is
not intended for window control. It does not affect contents returned
by Basic.Get-Ok methods.
AMQP.Channel.Flow
public AMQP.Channel.Flow()
getMethodId
public int getMethodId()
- Specified by:
getMethodId
in class AbstractMarshallingMethod
getMethodName
public java.lang.String getMethodName()
- Specified by:
getMethodName
in class AbstractMarshallingMethod
getClassId
public int getClassId()
- Specified by:
getClassId
in class AbstractMarshallingMethod
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in class AbstractMarshallingMethod
readFrom
public void readFrom(AMQPInputStream in)
throws java.io.IOException
- Specified by:
readFrom
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
writeTo
public void writeTo(AMQPOutputStream out)
throws java.io.IOException
- Specified by:
writeTo
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005 Scalagent - All rights reserved