package javax.bluetooth;

import java.io.IOException;
import javax.microedition.io.Connection;

public interface L2CAPConnection extends Connection
{
 public int DEFAULT_MTU = 672;
 public int MINIMUM_MTU = 48;

 public int getTransmitMTU() throws IOException;
 
 public int getReceiveMTU() throws IOException;
 
 public void send(byte[]) throws IOException;
 
 public int receive(byte[]) throws IOException;
 
 public boolean ready() throws IOException;
 
}