javax.microedition.io
Interface DatagramConnection

All Superinterfaces:
Connection

public interface DatagramConnection
extends Connection


Method Summary
 int getMaximumLength()
           
 int getNominalLength()
           
 Datagram newDatagram(byte[] buf, int size)
           
 Datagram newDatagram(byte[] buf, int size, java.lang.String addr)
           
 Datagram newDatagram(int size)
           
 Datagram newDatagram(int size, java.lang.String addr)
           
 void receive(Datagram dgram)
           
 void send(Datagram dgram)
           
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Method Detail

getMaximumLength

int getMaximumLength()
                     throws java.io.IOException
Throws:
java.io.IOException

getNominalLength

int getNominalLength()
                     throws java.io.IOException
Throws:
java.io.IOException

send

void send(Datagram dgram)
          throws java.io.IOException
Throws:
java.io.IOException

receive

void receive(Datagram dgram)
             throws java.io.IOException
Throws:
java.io.IOException

newDatagram

Datagram newDatagram(int size)
                     throws java.io.IOException
Throws:
java.io.IOException

newDatagram

Datagram newDatagram(int size,
                     java.lang.String addr)
                     throws java.io.IOException
Throws:
java.io.IOException

newDatagram

Datagram newDatagram(byte[] buf,
                     int size)
                     throws java.io.IOException
Throws:
java.io.IOException

newDatagram

Datagram newDatagram(byte[] buf,
                     int size,
                     java.lang.String addr)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2011 MicroEmulator Team. All Rights Reserved.