Package | Description |
---|---|
javax.microedition.io |
Classes for the Generic Connection framework.
|
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 © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.