public final class Delegate extends Delegate
Modifier and Type | Class and Description |
---|---|
static class |
Delegate.INVOCATION_KEY |
Constructor and Description |
---|
Delegate(ORB orb,
IOR ior) |
Delegate(ORB orb,
IOR ior,
boolean parseIORLazy) |
Delegate(ORB orb,
ParsedIOR pior) |
Modifier and Type | Method and Description |
---|---|
int |
_get_TCKind() |
static void |
clearInvocationContext()
clear the current invocation context.
|
Request |
create_request(Object self,
Context ctx,
String operation,
NVList args,
NamedValue result) |
Request |
create_request(Object self,
Context ctx,
String operation,
NVList args,
NamedValue result,
ExceptionList exceptions,
ContextList contexts) |
Object |
duplicate(Object self) |
boolean |
equals(Object obj) |
boolean |
equals(Object self,
Object obj) |
void |
forwardToObj(Object obj) |
Policy |
get_client_policy(int policy_type)
Gets the effective overriding policy with the given type from
the client-side, or null if this policy type is unset.
|
String |
get_codebase(Object self) |
Object |
get_component(Object self) |
DomainManager[] |
get_domain_managers(Object self) |
Object |
get_interface_def(Object self) |
InterfaceDef |
get_interface(Object self)
Deprecated.
|
Policy |
get_policy(Object self,
int policy_type)
The get_policy operation returns the policy object of the
specified type, which applies to this object.
|
Policy |
get_policy(Object self,
int policy_type,
OutputStream os) |
ParsedIOR |
getBaseIOR() |
org.omg.RTCORBA.Protocol[] |
getClientProtocols() |
String |
getIDString() |
static ArrayDeque<Map<Delegate.INVOCATION_KEY,org.omg.TimeBase.UtcT>> |
getInvocationContext()
access the current invocation context (its a ArrayDeque of Maps).
|
IOR |
getIOR() |
byte[] |
getObjectId() |
byte[] |
getObjectKey() |
ParsedIOR |
getParsedIOR() |
POA |
getPOA() |
ObjectImpl |
getReference(POA _poa) |
long |
getRelativeRequestTimeout() |
long |
getRelativeRoundtripTimeout() |
org.omg.TimeBase.UtcT |
getReplyEndTime() |
org.omg.TimeBase.UtcT |
getReplyStartTime() |
org.omg.TimeBase.UtcT |
getRequestEndTime() |
org.omg.TimeBase.UtcT |
getRequestStartTime() |
short |
getSyncScope() |
int |
hash(Object self,
int x) |
int |
hashCode() |
int |
hashCode(Object self) |
InputStream |
invoke(Object self,
OutputStream os)
Invokes a synchronous operation using this object reference
by sending the request marshalled in the OutputStream.
|
void |
invoke(Object self,
OutputStream os,
ReplyHandler replyHandler)
Invokes an asynchronous operation using this object reference by
sending the request marshalled in the OutputStream.
|
void |
invokeInterceptors(ClientRequestInfoImpl info,
short op) |
boolean |
is_a(Object self,
String logical_type_id)
Determines whether the object denoted by self
has type logical_type_id or a subtype of it
|
boolean |
is_equivalent(Object self,
Object obj) |
boolean |
is_local(Object self) |
boolean |
is_nil() |
boolean |
non_existent(Object self) |
ORB |
orb(Object self) |
void |
release(Object self)
Called to indicate that this Delegate will no longer be used by
the client.
|
void |
releaseReply(Object self,
InputStream is)
releases the InputStream
|
String |
repository_id(Object self)
repository_id returns a repository ID. |
Request |
request(Object self,
String operation) |
OutputStream |
request(Object self,
String operation,
boolean responseExpected) |
void |
resolvePOA(Object self) |
void |
servant_postinvoke(Object self,
ServantObject servant)
Overrides servant_postinvoke() in org.omg.CORBA.portable.Delegate
called from generated stubs after a local operation |
ServantObject |
servant_preinvoke(Object self,
String operation,
Class expectedType)
Overrides servant_preinvoke() in org.omg.CORBA.portable.Delegate
called from generated stubs before a local operation |
Object |
set_policy_override(Object self,
Policy[] policies,
SetOverrideType set_add) |
Object |
set_policy_overrides(Object self,
Policy[] policies,
SetOverrideType set_add) |
String |
toString() |
String |
toString(Object self) |
String |
typeId() |
boolean |
validate_connection(Object self,
PolicyListHolder inconsistent_policies) |
public static final ArrayDeque<Map<Delegate.INVOCATION_KEY,org.omg.TimeBase.UtcT>> getInvocationContext()
public static void clearInvocationContext()
public int _get_TCKind()
public void forwardToObj(Object obj)
public Request create_request(Object self, Context ctx, String operation, NVList args, NamedValue result)
create_request
in class Delegate
public Request create_request(Object self, Context ctx, String operation, NVList args, NamedValue result, ExceptionList exceptions, ContextList contexts)
create_request
in class Delegate
public DomainManager[] get_domain_managers(Object self)
get_domain_managers
in class Delegate
public Policy get_policy(Object self, int policy_type)
The effective Policy is determined by reconciling the effective override and the IOR-specified Policy. If the two policies cannot be reconciled, the standard system exception INV_POLICY is raised with standard minor code 1. The absence of a Policy value in the IOR implies that any legal value may be used.
get_policy
in class Delegate
public Policy get_client_policy(int policy_type)
public Policy get_policy(Object self, int policy_type, OutputStream os)
public org.omg.TimeBase.UtcT getRequestEndTime()
public org.omg.TimeBase.UtcT getReplyEndTime()
public org.omg.TimeBase.UtcT getRequestStartTime()
public org.omg.TimeBase.UtcT getReplyStartTime()
public long getRelativeRoundtripTimeout()
public long getRelativeRequestTimeout()
public short getSyncScope()
public org.omg.RTCORBA.Protocol[] getClientProtocols()
@Deprecated public InterfaceDef get_interface(Object self)
public Object get_interface_def(Object self)
get_interface_def
in class Delegate
public IOR getIOR()
public byte[] getObjectId()
public byte[] getObjectKey()
public ParsedIOR getBaseIOR()
public ParsedIOR getParsedIOR()
public void resolvePOA(Object self)
public POA getPOA()
public ObjectImpl getReference(POA _poa)
public void invoke(Object self, OutputStream os, ReplyHandler replyHandler) throws ApplicationException, RemarshalException
public InputStream invoke(Object self, OutputStream os) throws ApplicationException, RemarshalException
invoke
in class Delegate
ApplicationException
RemarshalException
public void invokeInterceptors(ClientRequestInfoImpl info, short op) throws RemarshalException
RemarshalException
public String repository_id(Object self)
repository_id
returns a repository ID.String
valuepublic boolean is_a(Object self, String logical_type_id)
public boolean is_equivalent(Object self, Object obj)
is_equivalent
in class Delegate
public String getIDString()
public boolean is_local(Object self)
public boolean is_nil()
public boolean non_existent(Object self)
non_existent
in class Delegate
public void release(Object self)
public void releaseReply(Object self, InputStream is)
releaseReply
in class Delegate
public OutputStream request(Object self, String operation, boolean responseExpected)
public void servant_postinvoke(Object self, ServantObject servant)
servant_postinvoke
in class Delegate
public ServantObject servant_preinvoke(Object self, String operation, Class expectedType)
servant_preinvoke
in class Delegate
public String typeId()
public Object set_policy_override(Object self, Policy[] policies, SetOverrideType set_add)
set_policy_override
in class Delegate
public Object set_policy_overrides(Object self, Policy[] policies, SetOverrideType set_add)
public String get_codebase(Object self)
get_codebase
in class Delegate
public boolean validate_connection(Object self, PolicyListHolder inconsistent_policies)
Copyright © 2017 JacORB. All rights reserved.