|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.neem.impl.Addresses
public abstract class Addresses
Address manipulation utilities. Provides methods to read/write InetSocketAddress addresses from/to a ByteBuffers.
Method Summary | |
---|---|
static java.net.InetSocketAddress |
readAddressFromBuffer(java.nio.ByteBuffer[] msg)
Read a socket address from an array of ByteBuffers into an InetSocketAddress. |
static java.nio.ByteBuffer |
writeAddressToBuffer(java.net.InetSocketAddress addr)
Write a socket address to a ByteBuffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.nio.ByteBuffer writeAddressToBuffer(java.net.InetSocketAddress addr)
addr
- The address to be written.public static java.net.InetSocketAddress readAddressFromBuffer(java.nio.ByteBuffer[] msg)
msg
- The buffer from which to read the address from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |