Package | Description |
---|---|
javax.microedition.io |
MID Profile includes networking support based on the
Generic Connection framework from the
Connected, Limited Device Configuration. |
Modifier and Type | Method and Description |
---|---|
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.
|
Datagram |
DatagramConnection.newDatagram(int size)
Create a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(int size,
String addr)
Create a new datagram object.
|
Modifier and Type | Method and Description |
---|---|
void |
DatagramConnection.receive(Datagram dgram)
Receive a datagram.
|
void |
DatagramConnection.send(Datagram dgram)
Send a datagram.
|
void |
Datagram.setAddress(Datagram reference)
Set datagram address, copying the address from another datagram.
|
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.