Calypso Gateway v1.0

codec.client
Class DynObject

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--org.omg.CORBA.DynamicImplementation
              |
              +--codec.client.DynObject

public final class DynObject
extends org.omg.CORBA.DynamicImplementation

Class implementing Universal Servant for accepting Client requests.


Field Summary
private  java.lang.String[] ids
           
 java.lang.Boolean isException
          Defines whether an exceptional situation happened during invocation which requires to immediately raise CORBA::UNKNOWN exception for all requests associated with this object.
 java.lang.Boolean isInitialLockReleased
          The field is introduced here to prevent situation when Client will be fantastically fast in finding out presence of a newly-created Universal Servant and will attempt to invoke its operations too early.
 java.lang.String[] nsLocation
           
static int REF_TYPE_NSERV
           
static int REF_TYPE_RFILE
           
 java.lang.String refFile
           
 int refType
           
 
Fields inherited from class org.omg.CORBA.portable.ObjectImpl
__delegate
 
Constructor Summary
DynObject(java.lang.String[] ids_)
           
 
Method Summary
 java.lang.String[] _ids()
           
 void invoke(org.omg.CORBA.ServerRequest request)
           
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

ids

private java.lang.String[] ids

refType

public int refType

REF_TYPE_RFILE

public static final int REF_TYPE_RFILE

REF_TYPE_NSERV

public static final int REF_TYPE_NSERV

refFile

public java.lang.String refFile

nsLocation

public java.lang.String[] nsLocation

isException

public volatile java.lang.Boolean isException
Defines whether an exceptional situation happened during invocation which requires to immediately raise CORBA::UNKNOWN exception for all requests associated with this object.

isInitialLockReleased

public volatile java.lang.Boolean isInitialLockReleased
The field is introduced here to prevent situation when Client will be fantastically fast in finding out presence of a newly-created Universal Servant and will attempt to invoke its operations too early. In this case Gateway itself will postpone its attempt to further propagate operation until lock on object is released.
Constructor Detail

DynObject

public DynObject(java.lang.String[] ids_)
Method Detail

_ids

public java.lang.String[] _ids()
Overrides:
_ids in class org.omg.CORBA.portable.ObjectImpl

invoke

public void invoke(org.omg.CORBA.ServerRequest request)
Overrides:
invoke in class org.omg.CORBA.DynamicImplementation

Calypso Gateway v1.0