public abstract class ConnectionBinding extends Object implements Binding<Connection,ByteBuffer>
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FRAME_SIZE |
| Constructor and Description |
|---|
ConnectionBinding() |
| Modifier and Type | Method and Description |
|---|---|
abstract Connection |
connection() |
Connection |
endpoint(Sender<ByteBuffer> sender) |
static Binding<Connection,ByteBuffer> |
get(Connection connection) |
static Binding<Connection,ByteBuffer> |
get(ConnectionDelegate delegate) |
Receiver<ByteBuffer> |
receiver(Connection conn) |
public static final int MAX_FRAME_SIZE
public static Binding<Connection,ByteBuffer> get(Connection connection)
public static Binding<Connection,ByteBuffer> get(ConnectionDelegate delegate)
public abstract Connection connection()
public Connection endpoint(Sender<ByteBuffer> sender)
endpoint in interface Binding<Connection,ByteBuffer>public Receiver<ByteBuffer> receiver(Connection conn)
receiver in interface Binding<Connection,ByteBuffer>Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.