net.sourceforge.jwap.wtp.pdu
Class CWTPSegmResult

java.lang.Object
  |
  +--net.sourceforge.jwap.wtp.pdu.CWTPPDU
        |
        +--net.sourceforge.jwap.wtp.pdu.CWTPSegmResult

public class CWTPSegmResult
extends CWTPPDU


Fields inherited from class net.sourceforge.jwap.wtp.pdu.CWTPPDU
PDU_TYPE_ABORT, PDU_TYPE_ACK, PDU_TYPE_INVOKE, PDU_TYPE_NEG_ACK, PDU_TYPE_RESULT, PDU_TYPE_SEGM_INVOKE, PDU_TYPE_SEGM_RESULT, types
 
Constructor Summary
CWTPSegmResult(short sequenceNo, byte[] payload, int tid)
           
 
Method Summary
 short getPSN()
           
 byte[] toByteArray()
          Encodes the PDU according to WAP-224-WTP-20010710-a
 java.lang.String toString()
           
 
Methods inherited from class net.sourceforge.jwap.wtp.pdu.CWTPPDU
decode, getCON, getGTR, getPayload, getPDUType, getRES1, getRES2, getRID, getSegments, getTID, getTTR, setCON, setGTR, setPayload, setPDUType, setRES1, setRES2, setRID, setSegments, setTTR
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CWTPSegmResult

public CWTPSegmResult(short sequenceNo,
                      byte[] payload,
                      int tid)
Method Detail

getPSN

public short getPSN()

toByteArray

public byte[] toByteArray()
Description copied from class: CWTPPDU
Encodes the PDU according to WAP-224-WTP-20010710-a
Overrides:
toByteArray in class CWTPPDU
Following copied from class: net.sourceforge.jwap.wtp.pdu.CWTPPDU
Returns:
encoded bytes

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object