KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > net > datagram > Datagram

javax.net.datagram
Class Datagram

java.lang.Object
  |
  +--javax.net.datagram.Datagram
See Also:
DatagramService, Address

public Datagram(byte[] buf)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Datagram(byte[] buf,
                int offset,
                int len,
                Address addr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Datagram(byte[] buf,
                Address addr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Address getAddress()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public byte[] getData()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getLength()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getOffset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setAddress(Address addr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setData(byte[] buffer,
                    int offset,
                    int len)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLength(int len)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setOffset(int offset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags