January 2002
Intermediate to advanced
264 pages
8h 3m
English
javax.microedition.io.Datagram
This interface represents the generic datagram interface. It acts as a holder for data to be sent to or received from a datagram connection.
public interfaceDatagram extends DataInput, DataOutput { // public instance methods public String getAddress( ); public byte[] getData( ); public int getLength( ); public int getOffset( ); public void reset( ); public void setAddress(Datagram reference); public void setAddress(String address) throws IOException; public void setData(byte[] buffer, int offset, int len); public void setLength(int len); }
Read now
Unlock full access