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

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

public class Protocol
extends SIPObject

Protocol name and version.

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

コンストラクタの概要
Protocol()
          Default constructor.
 
メソッドの概要
 java.lang.String encode()
          Return canonical form.
 boolean equals(java.lang.Object other)
          Compare two To headers for equality.
 java.lang.String getProtocolName()
          get the protocol name
 java.lang.String getProtocolVersion()
          get the protocol version
 java.lang.String getTransport()
          get the transport
 void setProtocolName(java.lang.String p)
          Set the protocolName member
 void setProtocolVersion(java.lang.String p)
          Set the protocolVersion member
 void setTransport(java.lang.String t)
          Set the transport member
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, 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
 

コンストラクタの詳細

Protocol

public Protocol()
Default constructor.

メソッドの詳細

equals

public boolean equals(java.lang.Object other)
Compare two To headers for equality.

オーバーライド:
クラス SIPObject 内の equals
パラメータ:
other - Object to set
戻り値:
true if the two headers are the same.

encode

public java.lang.String encode()
Return canonical form.

定義:
クラス SIPObject 内の encode
戻り値:
String

getProtocolName

public java.lang.String getProtocolName()
get the protocol name

戻り値:
String

getProtocolVersion

public java.lang.String getProtocolVersion()
get the protocol version

戻り値:
String

getTransport

public java.lang.String getTransport()
get the transport

戻り値:
String

setProtocolName

public void setProtocolName(java.lang.String p)
Set the protocolName member

パラメータ:
p - String to set

setProtocolVersion

public void setProtocolVersion(java.lang.String p)
Set the protocolVersion member

パラメータ:
p - String to set

setTransport

public void setTransport(java.lang.String t)
Set the transport member

パラメータ:
t - String to set