public class AMQStateManager extends Object implements org.apache.qpid.protocol.AMQMethodListener
For each AMQProtocolHandler there is a separate state manager.
| Constructor and Description |
|---|
AMQStateManager(Broker<?> broker,
AMQProtocolSession protocolSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeState(AMQState newState) |
void |
error(Exception e) |
Broker<?> |
getBroker()
Get the Broker instance
|
AMQProtocolSession |
getProtocolSession() |
SubjectCreator |
getSubjectCreator() |
<B extends org.apache.qpid.framing.AMQMethodBody> |
methodReceived(org.apache.qpid.protocol.AMQMethodEvent<B> evt) |
public AMQStateManager(Broker<?> broker, AMQProtocolSession protocolSession)
public Broker<?> getBroker()
public void changeState(AMQState newState)
public void error(Exception e)
error in interface org.apache.qpid.protocol.AMQMethodListenerpublic <B extends org.apache.qpid.framing.AMQMethodBody> boolean methodReceived(org.apache.qpid.protocol.AMQMethodEvent<B> evt)
throws org.apache.qpid.AMQException
methodReceived in interface org.apache.qpid.protocol.AMQMethodListenerorg.apache.qpid.AMQExceptionpublic AMQProtocolSession getProtocolSession()
public SubjectCreator getSubjectCreator()
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.