Package ej.ecom.io
Interface Datagram
-
- All Superinterfaces:
DataInput,DataOutput
public interface Datagram extends DataInput, DataOutput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()byte[]getData()intgetLength()intgetOffset()voidreset()voidsetAddress(Datagram reference)voidsetAddress(String addr)voidsetData(byte[] buffer, int offset, int len)voidsetLength(int len)-
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
-
-
-
Method Detail
-
getAddress
String getAddress()
-
getData
byte[] getData()
-
getLength
int getLength()
-
getOffset
int getOffset()
-
reset
void reset()
-
setAddress
void setAddress(Datagram reference)
-
setAddress
void setAddress(String addr) throws IOException
- Throws:
IOException
-
setData
void setData(byte[] buffer, int offset, int len)
-
setLength
void setLength(int len)
-
-