aicas logo Jamaica 3.4 release 8

javax.microedition.io
Interface DatagramConnection

All Superinterfaces:
Connection

public interface DatagramConnection
extends Connection


Method Summary
 int getMaximumLength()
           
 int getNominalLength()
           
 Datagram newDatagram(byte[] buffer, int size)
           
 Datagram newDatagram(byte[] buffer, int size, String addr)
           
 Datagram newDatagram(int size)
           
 Datagram newDatagram(int size, 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 IOException
Throws:
IOException

getNominalLength

int getNominalLength()
                     throws IOException
Throws:
IOException

newDatagram

Datagram newDatagram(byte[] buffer,
                     int size)
                     throws IOException,
                            IllegalArgumentException
Throws:
IOException
IllegalArgumentException

newDatagram

Datagram newDatagram(byte[] buffer,
                     int size,
                     String addr)
                     throws IOException,
                            IllegalArgumentException
Throws:
IOException
IllegalArgumentException

newDatagram

Datagram newDatagram(int size)
                     throws IOException
Throws:
IOException

newDatagram

Datagram newDatagram(int size,
                     String addr)
                     throws IOException
Throws:
IOException

receive

void receive(Datagram dgram)
             throws IOException,
                    InterruptedIOException
Throws:
IOException
InterruptedIOException

send

void send(Datagram dgram)
          throws IOException,
                 InterruptedIOException
Throws:
IOException
InterruptedIOException

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.