gov.nist.javax.sip.header
クラス TimeStamp

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sip.header.SIPObject
          上位を拡張 gov.nist.javax.sip.header.SIPHeader
              上位を拡張 gov.nist.javax.sip.header.TimeStamp
すべての実装されたインタフェース:
SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.Header, javax.sip.header.TimeStampHeader

public class TimeStamp
extends SIPHeader
implements javax.sip.header.TimeStampHeader

TimeStamp SIP Header.

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:30 $
作成者:
M. Ranganathan
, Olivier Deruelle
This code is in the public domain.
関連項目:
直列化された形式

フィールドの概要
 
インタフェース javax.sip.header.TimeStampHeader から継承されたフィールド
NAME
 
インタフェース gov.nist.javax.sip.header.SIPHeaderNames から継承されたフィールド
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALERT_INFO, ALLOW, ALLOW_EVENTS, AUTHENTICATION_INFO, AUTHORIZATION, CALL_ID, CALL_INFO, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, ERROR_INFO, EVENT, EXPIRES, FROM, IN_REPLY_TO, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE
 
コンストラクタの概要
TimeStamp()
          Default Constructor
 
メソッドの概要
 java.lang.String encodeBody()
          Return canonical form of the header.
 float getDelay()
          Gets delay of TimeStampHeader.
 float getTimeStamp()
          Gets the timestamp value of this TimeStampHeader.
 boolean hasDelay()
          return true if delay exists
 void removeDelay()
           
 void setDelay(float delay)
          Sets the new delay value of the TimestampHeader to the delay paramter passed to this method
 void setTimeStamp(float timeStamp)
          Sets the timestamp value of this TimeStampHeader to the new timestamp value passed to this method.
 
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド
encode, getHeaderName, getHeaderValue, getName, getValue, isHeaderList, setHeaderName
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, equals, getName, toString
 

コンストラクタの詳細

TimeStamp

public TimeStamp()
Default Constructor

メソッドの詳細

encodeBody

public java.lang.String encodeBody()
Return canonical form of the header.

戻り値:
String

hasDelay

public boolean hasDelay()
return true if delay exists

戻り値:
boolean

removeDelay

public void removeDelay()

setTimeStamp

public void setTimeStamp(float timeStamp)
                  throws javax.sip.InvalidArgumentException
Sets the timestamp value of this TimeStampHeader to the new timestamp value passed to this method.

定義:
インタフェース javax.sip.header.TimeStampHeader 内の setTimeStamp
パラメータ:
timeStamp - - the new float timestamp value
例外:
javax.sip.InvalidArgumentException - if the timestamp value argument is a negative value.

getTimeStamp

public float getTimeStamp()
Gets the timestamp value of this TimeStampHeader.

定義:
インタフェース javax.sip.header.TimeStampHeader 内の getTimeStamp
戻り値:
the timestamp value of this TimeStampHeader

getDelay

public float getDelay()
Gets delay of TimeStampHeader. This method return -1 if the delay paramater is not set.

定義:
インタフェース javax.sip.header.TimeStampHeader 内の getDelay
戻り値:
the delay value of this TimeStampHeader

setDelay

public void setDelay(float delay)
              throws javax.sip.InvalidArgumentException
Sets the new delay value of the TimestampHeader to the delay paramter passed to this method

定義:
インタフェース javax.sip.header.TimeStampHeader 内の setDelay
パラメータ:
delay - - the new float delay value
例外:
javax.sip.InvalidArgumentException - if the delay value argumenmt is a negative value other than -1.