Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Interface
javax.microedition.io.Datagram

Packages that use Datagram
javax.microedition.io Provides a simplified mechanism for applications to use various types of I/O protocols in resource-constrained environments. 
 

Uses of Datagram in javax.microedition.io
 

Methods in javax.microedition.io that return Datagram
 Datagram DatagramConnection.newDatagram(int size)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size, String addr)
          Make a new datagram object.
 

Methods in javax.microedition.io with parameters of type Datagram
 void Datagram.setAddress(Datagram reference)
          Set datagram address, copying the address from another datagram.
 void DatagramConnection.send(Datagram dgram)
          Send a datagram.
 void DatagramConnection.receive(Datagram dgram)
          Receive a datagram.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.