public class ProtocolEngine_0_10
extends org.apache.qpid.transport.network.InputHandler
implements org.apache.qpid.protocol.ServerProtocolEngine
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FRAME_SIZE |
| Constructor and Description |
|---|
ProtocolEngine_0_10(ServerConnection conn,
org.apache.qpid.transport.network.NetworkConnection network,
Port port,
Transport transport) |
| Modifier and Type | Method and Description |
|---|---|
void |
closed() |
String |
getAddress() |
String |
getAuthId() |
long |
getConnectionId() |
long |
getCreateTime() |
long |
getLastReadTime() |
long |
getLastWriteTime() |
SocketAddress |
getLocalAddress() |
long |
getReadBytes() |
SocketAddress |
getRemoteAddress() |
Subject |
getSubject() |
long |
getWrittenBytes() |
boolean |
isDurable() |
void |
readerIdle() |
void |
received(ByteBuffer buf) |
void |
setNetworkConnection(org.apache.qpid.transport.network.NetworkConnection network,
org.apache.qpid.transport.Sender<ByteBuffer> sender) |
void |
writerIdle() |
exception, setMaxFrameSizepublic static final int MAX_FRAME_SIZE
public ProtocolEngine_0_10(ServerConnection conn, org.apache.qpid.transport.network.NetworkConnection network, Port port, Transport transport)
public void setNetworkConnection(org.apache.qpid.transport.network.NetworkConnection network,
org.apache.qpid.transport.Sender<ByteBuffer> sender)
setNetworkConnection in interface org.apache.qpid.protocol.ProtocolEnginepublic long getLastReadTime()
getLastReadTime in interface org.apache.qpid.transport.network.TransportActivitypublic long getLastWriteTime()
getLastWriteTime in interface org.apache.qpid.transport.network.TransportActivitypublic SocketAddress getRemoteAddress()
getRemoteAddress in interface org.apache.qpid.protocol.ProtocolEnginepublic SocketAddress getLocalAddress()
getLocalAddress in interface org.apache.qpid.protocol.ProtocolEnginepublic void received(ByteBuffer buf)
received in interface org.apache.qpid.transport.Receiver<ByteBuffer>received in class org.apache.qpid.transport.network.InputHandlerpublic long getReadBytes()
getReadBytes in interface org.apache.qpid.protocol.ProtocolEnginepublic long getWrittenBytes()
getWrittenBytes in interface org.apache.qpid.protocol.ProtocolEnginepublic void writerIdle()
writerIdle in interface org.apache.qpid.protocol.ProtocolEnginewriterIdle in interface org.apache.qpid.transport.network.TransportActivitypublic void readerIdle()
readerIdle in interface org.apache.qpid.protocol.ProtocolEnginereaderIdle in interface org.apache.qpid.transport.network.TransportActivitypublic String getAddress()
public String getAuthId()
public boolean isDurable()
public void closed()
closed in interface org.apache.qpid.protocol.ProtocolEngineclosed in interface org.apache.qpid.transport.Receiver<ByteBuffer>closed in class org.apache.qpid.transport.network.InputHandlerpublic long getCreateTime()
public long getConnectionId()
getConnectionId in interface org.apache.qpid.protocol.ServerProtocolEnginepublic Subject getSubject()
getSubject in interface org.apache.qpid.protocol.ServerProtocolEngineCopyright © 2006–2014 The Apache Software Foundation. All rights reserved.