jp.go.aist.rtm.RTC
クラス IopIorInterceptor

java.lang.Object
  上位を拡張 org.omg.CORBA.LocalObject
      上位を拡張 jp.go.aist.rtm.RTC.IopIorInterceptor
すべての実装されたインタフェース:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.Interceptor, org.omg.PortableInterceptor.InterceptorOperations, org.omg.PortableInterceptor.IORInterceptor, org.omg.PortableInterceptor.IORInterceptorOperations

public class IopIorInterceptor
extends org.omg.CORBA.LocalObject
implements org.omg.PortableInterceptor.IORInterceptor

Rewrites IOR by using a portable interceptor.

関連項目:
直列化された形式

コンストラクタの概要
IopIorInterceptor(org.omg.IOP.Codec codec)
           Constructor.
 
メソッドの概要
 void destroy()
           
 void establish_components(org.omg.PortableInterceptor.IORInfo info)
           sets endpoint to TAG_ALTERNATE_IIOP_ADDRESS.
 java.lang.String name()
           
static void replacePort0(org.omg.CORBA.ORB orb)
          {@.ja エンドポイントを書き換える.
static void setEndpoints(java.util.ArrayList endpoints)
          {@.ja エンドポイントを設定.
static void setEndpoints(java.lang.String hostString, java.lang.String portString)
          {@.ja エンドポイントを設定.
 
クラス org.omg.CORBA.LocalObject から継承されたメソッド
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.omg.CORBA.Object から継承されたメソッド
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

コンストラクタの詳細

IopIorInterceptor

public IopIorInterceptor(org.omg.IOP.Codec codec)
Constructor.

パラメータ:
codec - Encoding
メソッドの詳細

setEndpoints

public static void setEndpoints(java.util.ArrayList endpoints)
Sets the end points.

パラメータ:
endpoints - endpoints

setEndpoints

public static void setEndpoints(java.lang.String hostString,
                                java.lang.String portString)
Sets the end points.

パラメータ:
hostString - host
portString - port

replacePort0

public static void replacePort0(org.omg.CORBA.ORB orb)
Replaces the end point the end point.

Replaces the port number of the end point with the port number of the argument.Only the end point of port number 0 is replaced.

パラメータ:
orb - ORB

name

public java.lang.String name()
定義:
インタフェース org.omg.PortableInterceptor.InterceptorOperations 内の name

destroy

public void destroy()
定義:
インタフェース org.omg.PortableInterceptor.InterceptorOperations 内の destroy

establish_components

public void establish_components(org.omg.PortableInterceptor.IORInfo info)
sets endpoint to TAG_ALTERNATE_IIOP_ADDRESS.

定義:
インタフェース org.omg.PortableInterceptor.IORInterceptorOperations 内の establish_components
パラメータ:
info - IORInfo