net.sourceforge.jwap.wsp
Class CWSPMethodManager

java.lang.Object
  |
  +--net.sourceforge.jwap.wsp.CWSPMethodManager
All Implemented Interfaces:
IWTPUpperLayer

public class CWSPMethodManager
extends java.lang.Object
implements IWTPUpperLayer


Constructor Summary
CWSPMethodManager(CWSPPDU initpdu, CWSPSession session, IWSPUpperLayer upperLayer)
          s-methodInvoke.req implemented in CWSPSession calls this constructor
 
Method Summary
 void abort(short reason)
          used by CWSPSession - *WSP* layer
 void s_methodAbort_ind(short reason)
           
 boolean s_methodAbort()
          S-MethodAbort.req
 void s_methodInvoke_cnf()
           
 void s_methodInvokeData_cnf()
           
 void s_methodInvokeData_ind(CWSPHeaders headers, byte[] payload, java.lang.String contentType, boolean moreData)
           
 void s_methodInvokeData(byte[] payload, boolean moreData)
          s-methodInvokeData.req
 void s_methodResult_ind(CWSPReply pdu, boolean moreData)
           
 void s_methodResult(CWSPHeaders exitInfoAckHeaders)
          s-methodresult.res
 void s_methodResultData_ind(byte[] responseBody, boolean moreData)
           
 void s_methodResultData()
          s-methodresultdata.res
 void tr_abort(short abortReason)
          tr-abort.ind used by *WTP* layer to abort
 void tr_process(CWTPEvent p)
          Receive service primitives ind and cnf by the WTP layer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CWSPMethodManager

public CWSPMethodManager(CWSPPDU initpdu,
                         CWSPSession session,
                         IWSPUpperLayer upperLayer)
s-methodInvoke.req implemented in CWSPSession calls this constructor
Parameters:
initpdu -  
session -  
Method Detail

s_methodInvokeData

public void s_methodInvokeData(byte[] payload,
                               boolean moreData)
s-methodInvokeData.req

s_methodResultData

public void s_methodResultData()
s-methodresultdata.res

s_methodAbort

public boolean s_methodAbort()
S-MethodAbort.req
Returns:
S-MethodAbort.ind

s_methodResult

public void s_methodResult(CWSPHeaders exitInfoAckHeaders)
s-methodresult.res
Parameters:
data -  
contentType -  
exitInfoAckHeaders -  

s_methodAbort_ind

public void s_methodAbort_ind(short reason)

s_methodInvokeData_cnf

public void s_methodInvokeData_cnf()

s_methodInvokeData_ind

public void s_methodInvokeData_ind(CWSPHeaders headers,
                                   byte[] payload,
                                   java.lang.String contentType,
                                   boolean moreData)

s_methodInvoke_cnf

public void s_methodInvoke_cnf()

s_methodResult_ind

public void s_methodResult_ind(CWSPReply pdu,
                               boolean moreData)

s_methodResultData_ind

public void s_methodResultData_ind(byte[] responseBody,
                                   boolean moreData)

tr_process

public void tr_process(CWTPEvent p)
Description copied from interface: IWTPUpperLayer
Receive service primitives ind and cnf by the WTP layer.
Specified by:
tr_process in interface IWTPUpperLayer
Following copied from interface: net.sourceforge.jwap.wtp.IWTPUpperLayer
Parameters:
p - the primitive to be processed

tr_abort

public void tr_abort(short abortReason)
tr-abort.ind used by *WTP* layer to abort
Specified by:
tr_abort in interface IWTPUpperLayer
Parameters:
abortReason -  

abort

public void abort(short reason)
used by CWSPSession - *WSP* layer
Parameters:
reason -