package javax.microedition.io;

import java.io.IOException;

public interface DatagramConnection extends Connection
{

 public int getMaximumLength() throws IOException;
 
 public int getNominalLength() throws IOException;
 
 public void send(Datagram datagram_1) throws IOException;
 
 public void receive(Datagram datagram_1) throws IOException;
 
 public Datagram newDatagram(int int_1) throws IOException;
 
 public Datagram newDatagram(int int_1, String string_1) throws IOException;
 
 public Datagram newDatagram(byte[] bytes_1, int int_1) throws IOException;
 
 public Datagram newDatagram(byte[] bytes_1, int int_1, String string_1) throws IOException;
 
}