MID Profile

Uses of Interface

Packages that use Datagram
javax.microedition.io MID Profile includes networking support based on the Generic Connection framework from the Connected, Limited Device Configuration

Uses of Datagram in javax.microedition.io

Methods in javax.microedition.io that return Datagram
 Datagram DatagramConnection.newDatagram(int size)
          Make a new datagram object automatically allocating a buffer.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Make a new datagram object.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size)
          Make 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 DatagramConnection.send(Datagram dgram)
          Send a datagram.
 void DatagramConnection.receive(Datagram dgram)
          Receive a datagram.
 void Datagram.setAddress(Datagram reference)
          Set datagram address, copying the address from another datagram.

MID Profile

Submit a comment or suggestion Version 2.0 of MID Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright (c) 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road,Palo Alto, California, 94303, U.S.A. All Rights Reserved.