public interface PhysicalTransport
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PhysicalTransportConf |
getConf() |
boolean |
isBlocking() |
void |
join() |
boolean |
receive(ByteBuffer pack) |
boolean |
receive(DatagramPacket pack) |
void |
send(byte[] bytes,
int off,
int len) |
void |
send(ByteBuffer b) |
void |
send(DatagramPacket pack) |
boolean receive(ByteBuffer pack) throws IOException
IOExceptionboolean receive(DatagramPacket pack) throws IOException
IOExceptionvoid send(DatagramPacket pack) throws IOException
IOExceptionvoid send(byte[] bytes,
int off,
int len)
throws IOException
IOExceptionvoid send(ByteBuffer b) throws IOException
IOExceptionvoid join() throws IOException
IOExceptionPhysicalTransportConf getConf()
void close()
boolean isBlocking()
Copyright © 2014. All rights reserved.