jp.co.nec.orb.IOP
クラス IOR

java.lang.Object
  |
  +--jp.co.nec.orb.IOP.IOR
直系の既知のサブクラス:
MultiProfileIOR

public class IOR
extends java.lang.Object

This class is IOP IOR (NEC Original).


フィールドの概要
 ExtProtocol _ext_protocol
           
 java.lang.String _host
           
 int _port
           
 TaggedProfile[] _profiles
          The TaggedProfile list
 SSL _ssl
          SSLIOP.SSL cash data, for SSL
 java.lang.String _type_id
          The Repository-ID of interface supported the object.
static int IIOP_1_0
           
static int IIOP_1_1
           
static int IIOP_1_2
           
static int IIOP_1_3
           
 
コンストラクタの概要
IOR()
          default constructor is used to read.
IOR(ORB orb)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo)
          this constructor is used to write.
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, int version)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, int version, boolean create_ssl)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, int version, boolean create_ssl, ORB orb)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, int version, boolean create_ssl, ORB orb, Policy[] plist)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, int version, boolean create_ssl, ORB orb, Policy[] plist, boolean use_ssl, boolean request_cert)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, int version, ORB orb)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, ORB orb)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, ORB orb, Policy[] plist)
           
IOR(java.lang.String type_id, java.lang.String host, int port, byte[] objkey, CodeSetComponentInfo csinfo, ORB orb, Policy[] plist, boolean use_ssl, boolean request_cert)
           
IOR(java.lang.String type_id, TaggedProfile[] profiles)
           
IOR(java.lang.String type_id, TaggedProfile[] profiles, ORB orb)
           
 
メソッドの概要
 IOR copy()
           
 IOR copy(ORB orb)
           
 boolean equals(java.lang.Object obj)
          Tests equivalence.
 Policy get_policy(int policy_type)
           
 java.lang.String getCodeBase()
           
 CodeSetComponentInfo getCodeSetComponentInfo()
          get CodeSetComponentInfo
 CodeSetContext getCodeSetContext()
          get CodeSetContext
 CompoundSecMechList getCompoundSecMechList()
           
 ProfileBody[] getMultiProfileBody()
          get MultiProfileBody
 ObjectKey getObjectKey()
           
 ProfileBody getOriginalProfileBody()
          get OriginalProfileBody
 ProfileBody getProfileBody()
          get ProfileBody
 SessionComponent getSessionComponent()
          get SessionComponent
 SSL getSSL()
           
 int getSSLPort()
           
 short getSSLRequires()
           
 short getSSLSupports()
           
 TaggedComponent[][] getTaggedComponents()
           
 TargetAddress getTargetAddress()
          get TargetAddress for this IOR
static boolean getUseProfileBodyComponents()
           
 boolean hasSSLInfo()
           
static void initial_addressing_disposition(short init_value)
           
static void initial_iiop_version(int iiop_value)
           
 java.lang.String interface_name()
          return interface name make from type_id. if type_id is not IDL format, throw INV_OBJREF.
 boolean isMultiplex()
           
 void read(InputStream istream)
          Read IOR from the input stream.
static IOR readIOR(InputStream istream, ORB orb)
          Read IOR from the input stream.
 void readObjectKey(InputStream istream)
           
 void readTargetAddress(InputStream istream)
           
 void setAddressingDisposition(short new_disposition)
          change AddressingDisposition of TargetAddress
static void setUseProfileBodyComponents(boolean b)
           
 void write(OutputStream ostream)
          Write IOR to the output stream.
 void writeObjectKey(OutputStream ostream)
           
 void writeTargetAddress(OutputStream ostream)
           
 
クラス java.lang.Object から継承したメソッド
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

_type_id

public java.lang.String _type_id
The Repository-ID of interface supported the object.

_profiles

public TaggedProfile[] _profiles
The TaggedProfile list
関連項目:
TaggedProfile

_ssl

public SSL _ssl
SSLIOP.SSL cash data, for SSL

_host

public java.lang.String _host

_port

public int _port

_ext_protocol

public ExtProtocol _ext_protocol

IIOP_1_0

public static final int IIOP_1_0

IIOP_1_1

public static final int IIOP_1_1

IIOP_1_2

public static final int IIOP_1_2

IIOP_1_3

public static final int IIOP_1_3
コンストラクタの詳細

IOR

public IOR()
default constructor is used to read. For example:
     IOR ior = new IOR();
     InputStream istream = ...;
     ior.read(istream);
 

IOR

public IOR(ORB orb)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo)
this constructor is used to write.
パラメータ:
type_id - Repository-ID of interface supported the object.
host - IP address of Object
port - TCP/IP port number of Object
objkey - encapsulated ObjectKeyImpl
pb - ProfileBody
csinfo - CodeSetComponentInfo

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           int version)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           int version,
           boolean create_ssl)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           ORB orb)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           ORB orb,
           Policy[] plist)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           int version,
           ORB orb)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           int version,
           boolean create_ssl,
           ORB orb)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           int version,
           boolean create_ssl,
           ORB orb,
           Policy[] plist)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           ORB orb,
           Policy[] plist,
           boolean use_ssl,
           boolean request_cert)

IOR

public IOR(java.lang.String type_id,
           java.lang.String host,
           int port,
           byte[] objkey,
           CodeSetComponentInfo csinfo,
           int version,
           boolean create_ssl,
           ORB orb,
           Policy[] plist,
           boolean use_ssl,
           boolean request_cert)

IOR

public IOR(java.lang.String type_id,
           TaggedProfile[] profiles)

IOR

public IOR(java.lang.String type_id,
           TaggedProfile[] profiles,
           ORB orb)
メソッドの詳細

initial_iiop_version

public static void initial_iiop_version(int iiop_value)

initial_addressing_disposition

public static void initial_addressing_disposition(short init_value)

setUseProfileBodyComponents

public static void setUseProfileBodyComponents(boolean b)

getUseProfileBodyComponents

public static boolean getUseProfileBodyComponents()

read

public void read(InputStream istream)
Read IOR from the input stream.
パラメータ:
istream - input stream

write

public void write(OutputStream ostream)
Write IOR to the output stream.
パラメータ:
ostream - output stream

interface_name

public java.lang.String interface_name()
return interface name make from type_id. if type_id is not IDL format, throw INV_OBJREF.

getProfileBody

public ProfileBody getProfileBody()
get ProfileBody
戻り値:
ProfileBody

getOriginalProfileBody

public ProfileBody getOriginalProfileBody()
get OriginalProfileBody
戻り値:
ProfileBody

getMultiProfileBody

public ProfileBody[] getMultiProfileBody()
get MultiProfileBody
戻り値:
ProfileBody[]

getCodeSetComponentInfo

public CodeSetComponentInfo getCodeSetComponentInfo()
get CodeSetComponentInfo
戻り値:
CodeSetComponentInfo

getCodeSetContext

public CodeSetContext getCodeSetContext()
get CodeSetContext
戻り値:
CodeSetContext

getSessionComponent

public SessionComponent getSessionComponent()
get SessionComponent
戻り値:
SessionComponent

getSSL

public SSL getSSL()

getCodeBase

public java.lang.String getCodeBase()

get_policy

public Policy get_policy(int policy_type)

getTaggedComponents

public TaggedComponent[][] getTaggedComponents()

getCompoundSecMechList

public CompoundSecMechList getCompoundSecMechList()

setAddressingDisposition

public void setAddressingDisposition(short new_disposition)
change AddressingDisposition of TargetAddress

getTargetAddress

public TargetAddress getTargetAddress()
get TargetAddress for this IOR

readTargetAddress

public void readTargetAddress(InputStream istream)

writeTargetAddress

public void writeTargetAddress(OutputStream ostream)

getObjectKey

public ObjectKey getObjectKey()

readObjectKey

public void readObjectKey(InputStream istream)

writeObjectKey

public void writeObjectKey(OutputStream ostream)

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.

hasSSLInfo

public boolean hasSSLInfo()

getSSLPort

public int getSSLPort()

getSSLSupports

public short getSSLSupports()

getSSLRequires

public short getSSLRequires()

readIOR

public static IOR readIOR(InputStream istream,
                          ORB orb)
Read IOR from the input stream.
パラメータ:
istream - input stream

isMultiplex

public boolean isMultiplex()

copy

public IOR copy()

copy

public IOR copy(ORB orb)