A
- The type of the peer addresspublic interface Connection<A>
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
connect(A dest) |
boolean |
isConnected() |
boolean |
isExpired(long milis) |
boolean |
isOpen() |
void |
send(byte[] buf,
int offset,
int length) |
void |
send(java.nio.ByteBuffer buf) |
void |
start() |
boolean isOpen()
boolean isConnected()
boolean isExpired(long milis)
void connect(A dest) throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void send(byte[] buf, int offset, int length) throws java.lang.Exception
java.lang.Exception
void send(java.nio.ByteBuffer buf) throws java.lang.Exception
java.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.