jp.co.nec.orb.IIOP
クラス ProfileBody

java.lang.Object
  |
  +--jp.co.nec.orb.IIOP.ProfileBody

public final class ProfileBody
extends java.lang.Object

This class is IIOP ProfileBody (NEC Original).


フィールドの概要
static char[] iiop10_version
          iiop10_version describes the version of IIOP that the agent at the specified address is prepared to receive.
static char[] iiop11_version
          iiop11_version describes the version of IIOP that the agent at the specified address is prepared to receive.
static char[] iiop12_version
          iiop12_version describes the version of IIOP that the agent at the specified address is prepared to receive.
static char[] iiop13_version
           
 
コンストラクタの概要
ProfileBody(char[] version, java.lang.String host, int port, byte[] object_key, TaggedComponent[] components)
          Initialize all fields
 
メソッドの概要
 ProfileBody copy()
           
static ProfileBody de_encapsulate(byte[] encap)
          De-encapsulates from sequence of octet.
 byte[] encapsulate()
          Encapsulates to sequence of octet.
 boolean equals(java.lang.Object obj)
          Tests equivalence.
 TaggedComponent[] getComponents()
          Obtaining components
 java.lang.String getHostName()
          Obtaining host name
 java.net.InetAddress getInetAddress()
          Obtaining inet address
 byte[] getObjectKey()
          Obtaining object key
 int getPort()
          Obtaining port number
 SSL getSSL()
           
 int getSSLPort()
           
 char[] getVersion()
          Obtaining IIOP version
 boolean isSameHost(ProfileBody pb)
           
 void modifyAddressInfo(java.lang.String host, int port, int sslport, short requires, short supports)
           
 
クラス java.lang.Object から継承したメソッド
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

iiop10_version

public static final char[] iiop10_version
iiop10_version describes the version of IIOP that the agent at the specified address is prepared to receive. When an agent generates IIOP profiles specifying a particular version, it must be able to accept messages complying with the specified version or any previous minor version. Upper character is major version(1), and lower character is minor version(0).

iiop11_version

public static final char[] iiop11_version
iiop11_version describes the version of IIOP that the agent at the specified address is prepared to receive. When an agent generates IIOP profiles specifying a particular version, it must be able to accept messages complying with the specified version or any previous minor version. Upper character is major version(1), and lower character is minor version(1).

iiop12_version

public static final char[] iiop12_version
iiop12_version describes the version of IIOP that the agent at the specified address is prepared to receive. When an agent generates IIOP profiles specifying a particular version, it must be able to accept messages complying with the specified version or any previous minor version. Upper character is major version(1), and lower character is minor version(2).

iiop13_version

public static final char[] iiop13_version
コンストラクタの詳細

ProfileBody

public ProfileBody(char[] version,
                   java.lang.String host,
                   int port,
                   byte[] object_key,
                   TaggedComponent[] components)
Initialize all fields
パラメータ:
version - IIOP version
host - IP address of Object
port - TCP/IP port number of Object
object_key - encapsulated ObjectKeyImpl
components - TaggedComponent list (IIOP 1.1)
メソッドの詳細

getVersion

public char[] getVersion()
Obtaining IIOP version

getHostName

public java.lang.String getHostName()
Obtaining host name

getPort

public int getPort()
Obtaining port number

getObjectKey

public byte[] getObjectKey()
Obtaining object key

getComponents

public TaggedComponent[] getComponents()
Obtaining components

getInetAddress

public java.net.InetAddress getInetAddress()
Obtaining inet address

de_encapsulate

public static ProfileBody de_encapsulate(byte[] encap)
De-encapsulates from sequence of octet.
パラメータ:
encap - encapsulated data

encapsulate

public byte[] encapsulate()
Encapsulates to sequence of octet.
戻り値:
encapsulated data

equals

public boolean equals(java.lang.Object obj)
Tests equivalence.
オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
obj - java object
戻り値:
if obj has a same value to this, return trues, otherwise returns false.

modifyAddressInfo

public void modifyAddressInfo(java.lang.String host,
                              int port,
                              int sslport,
                              short requires,
                              short supports)

copy

public ProfileBody copy()

isSameHost

public boolean isSameHost(ProfileBody pb)

getSSL

public SSL getSSL()

getSSLPort

public int getSSLPort()