hp.opencall.media.sms.tl
Class Parameter

java.lang.Object
  extended byhp.opencall.media.sms.tl.Parameter
Direct Known Subclasses:
Parameter, Parameter

public abstract class Parameter
extends Object

A Parameter is a Component composant


Method Summary
 void decodePDU(byte[] currentEncodedPDU, int currentOffset)
          For internal use only
 void encodePDU(byte[] currentEncodedPDU, int currentOffset)
          For internal use only
 int getSizeInByte()
          For internal use only
 boolean isOptional()
          Indicate if the parameter is optional
 boolean isValid()
          Indicate if the parameter is set and can be accessed.
 void reset()
          For internal use only
 void setCorrelatedValidation()
          For internal use only
 void setEncodingMode(hp.opencall.media.sms.tl.EncodingMode anEncodingMode, int aSize)
          For internal use only
 void setOptional()
          For internal use only
 String toString()
          Dump a Parameter as a String This method is supply for debug only because of performance topic.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setEncodingMode

public void setEncodingMode(hp.opencall.media.sms.tl.EncodingMode anEncodingMode,
                            int aSize)
For internal use only


setOptional

public void setOptional()
For internal use only


isOptional

public boolean isOptional()
Indicate if the parameter is optional


isValid

public boolean isValid()
Indicate if the parameter is set and can be accessed. It is needed to invoke it before any access to an optional parameter to avoid Exception throwing.


setCorrelatedValidation

public void setCorrelatedValidation()
For internal use only


encodePDU

public void encodePDU(byte[] currentEncodedPDU,
                      int currentOffset)
               throws PDUException
For internal use only

Throws:
PDUException

reset

public void reset()
For internal use only


decodePDU

public void decodePDU(byte[] currentEncodedPDU,
                      int currentOffset)
               throws PDUException
For internal use only

Throws:
PDUException

getSizeInByte

public int getSizeInByte()
                  throws PDUException
For internal use only

Throws:
PDUException

toString

public String toString()
Dump a Parameter as a String

This method is supply for debug only because of performance topic.