Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.bluej.core
Class L2CAPConn  view L2CAPConn download L2CAPConn.java

java.lang.Object
  extended byorg.bluej.core.L2CAPConn

public class L2CAPConn
extends java.lang.Object


Field Summary
(package private)  byte[] inBuf
           
(package private)  java.lang.String locaddr
           
(package private)  int mtuIn
           
(package private)  int mtuOut
           
(package private)  byte[] outBuf
           
(package private)  int peer
           
(package private)  long psm
           
(package private)  java.lang.String remaddr
           
 
Constructor Summary
protected L2CAPConn(int peer, long psm, java.lang.String locaddr, java.lang.String remaddr, int mtuIn, int mtuOut)
           
 
Method Summary
(package private)  void close()
           
 int getMTUIn()
           
 int getMTUOut()
           
 long getPSM()
           
 int read(byte[] data)
           
 void write(byte[] data, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peer

int peer

locaddr

java.lang.String locaddr

remaddr

java.lang.String remaddr

psm

long psm

mtuOut

int mtuOut

mtuIn

int mtuIn

inBuf

byte[] inBuf

outBuf

byte[] outBuf
Constructor Detail

L2CAPConn

protected L2CAPConn(int peer,
                    long psm,
                    java.lang.String locaddr,
                    java.lang.String remaddr,
                    int mtuIn,
                    int mtuOut)
Method Detail

getPSM

public long getPSM()

getMTUIn

public int getMTUIn()

getMTUOut

public int getMTUOut()

write

public void write(byte[] data,
                  int len)
           throws BlueJException

read

public int read(byte[] data)
         throws BlueJException

close

void close()