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

Quick Search    Search Deep

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

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

public class SDPPacket
extends java.lang.Object


Field Summary
(package private)  byte[] data
           
(package private)  int len
           
(package private) static long PSM
           
(package private)  int transid
           
 
Constructor Summary
SDPPacket(int maxLen)
           
SDPPacket(int initTransId, int maxLen)
           
 
Method Summary
 void addByte(int byteVal)
           
 void addData(byte[] newData)
           
 void addData(byte[] newData, int start, int newLen)
           
 void addDataElement(DataElement elem)
           
 void addLong(long longVal)
           
 void addShort(int shortVal)
           
 java.lang.String dump()
           
 int getLength()
           
 int getTransId()
           
 void reset(int pdu)
           
 void write(L2CAPConn conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PSM

static final long PSM
See Also:
Constant Field Values

transid

int transid

len

int len

data

byte[] data
Constructor Detail

SDPPacket

public SDPPacket(int maxLen)

SDPPacket

public SDPPacket(int initTransId,
                 int maxLen)
Method Detail

write

public void write(L2CAPConn conn)
           throws BlueJException

getTransId

public int getTransId()

getLength

public int getLength()

reset

public void reset(int pdu)

addByte

public void addByte(int byteVal)

addShort

public void addShort(int shortVal)

addLong

public void addLong(long longVal)

addData

public void addData(byte[] newData,
                    int start,
                    int newLen)

addData

public void addData(byte[] newData)

addDataElement

public void addDataElement(DataElement elem)

dump

public java.lang.String dump()