public interface Datagram extends DataInput, DataOutput
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
byte[] |
getData() |
int |
getLength() |
int |
getOffset() |
void |
reset() |
void |
setAddress(Datagram reference) |
void |
setAddress(String addr) |
void |
setData(byte[] buffer,
int offset,
int len) |
void |
setLength(int len) |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
write, write, write, writeBoolean, writeByte, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
String getAddress()
byte[] getData()
int getLength()
int getOffset()
void reset()
void setAddress(Datagram reference)
void setAddress(String addr) throws IOException
IOException
void setData(byte[] buffer, int offset, int len)
void setLength(int len)