public class ProtonHandler extends ProtonInitializable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
dataReceived |
protected boolean |
receivedFirstPacket |
| Constructor and Description |
|---|
ProtonHandler(Executor dispatchExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ProtonHandler |
addEventHandler(EventHandler handler) |
int |
capacity() |
boolean |
checkDataReceived() |
protected void |
checkServerSASL() |
void |
close(org.apache.qpid.proton.amqp.transport.ErrorCondition errorCondition) |
void |
createServerSASL(ServerSASL[] handlers) |
void |
flush() |
org.apache.qpid.proton.engine.Connection |
getConnection() |
long |
getCreationTime() |
Object |
getLock() |
SASLResult |
getSASLResult() |
org.apache.qpid.proton.engine.Transport |
getTransport() |
void |
inputBuffer(io.netty.buffer.ByteBuf buffer) |
void |
open(String containerId,
Map<org.apache.qpid.proton.amqp.Symbol,Object> connectionProperties) |
io.netty.buffer.ByteBuf |
outputBuffer() |
void |
outputDone(int bytes) |
long |
tick(boolean firstTick) |
initialise, isInitializedprotected volatile boolean dataReceived
protected boolean receivedFirstPacket
public ProtonHandler(Executor dispatchExecutor)
public long tick(boolean firstTick)
public int capacity()
public Object getLock()
public org.apache.qpid.proton.engine.Transport getTransport()
public org.apache.qpid.proton.engine.Connection getConnection()
public ProtonHandler addEventHandler(EventHandler handler)
public void createServerSASL(ServerSASL[] handlers)
public SASLResult getSASLResult()
public void inputBuffer(io.netty.buffer.ByteBuf buffer)
public boolean checkDataReceived()
public long getCreationTime()
public void outputDone(int bytes)
public io.netty.buffer.ByteBuf outputBuffer()
public void flush()
public void close(org.apache.qpid.proton.amqp.transport.ErrorCondition errorCondition)
protected void checkServerSASL()
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.