|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.net.ClientBinding
A client binding represents a potential request path between client and server.
Field Summary | |
static int |
DEAD_PRIORITY
|
static int |
MASK_ADDRESS_PRIORITY
Significant bits in selecting between alternate addresses from the same profile. |
static int |
MASK_IOR_PRIORITY
Significant bits in selecting between alternate IORs |
static int |
MASK_PROFILE_PRIORITY
Significant bits in selecting between alternate addresses from different profiles. |
static java.util.Comparator |
priorityComp
|
Constructor Summary | |
ClientBinding(Address address,
ClientChannel channel,
java.lang.Object transportAssociation)
Bind address to remote invocation channel. |
|
ClientBinding(Address address,
ClientChannel channel,
java.lang.Object transportAssociation,
ServerManager serverManager)
Bind address to local adapter. |
|
ClientBinding(Address address,
SystemException ex)
Bind address to a system exception. |
Method Summary | |
ClientRequest |
create_locate_request(Object target)
Create a locate request. |
ClientRequest |
create_request(Object target,
java.lang.String operation,
boolean response_expected)
Create a request. |
boolean |
equals(java.lang.Object obj)
|
Object |
get_component()
Calls get_component on the adapter. |
DomainManager[] |
get_domain_managers()
Calls get_domain_managers on the adapter. |
Object |
get_interface_def()
Calls get_interface_def on the adapter. |
Address |
getAddress()
Return the client address. |
ClientChannel |
getClientChannel()
Return the client channel. |
ObjectAdapter |
getObjectAdapter()
Return the object adapter. |
int |
getPriority()
Get binding priority. |
int |
hashCode()
|
boolean |
is_a(java.lang.String repository_id)
Calls is_a on the adapter. |
boolean |
local_invoke()
True if the target can accept local invocations. |
boolean |
locate()
Calls locate on the adapter. |
void |
servant_postinvoke(ServantObject srvObject)
Calls servant_postinvoke on the adapter. |
ServantObject |
servant_preinvoke(java.lang.String operation,
java.lang.Class expectedType)
Calls servant_preinvoke on the adapter. |
void |
setPriority(int priority)
Set the binding priority. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEAD_PRIORITY
public static final int MASK_ADDRESS_PRIORITY
public static final int MASK_PROFILE_PRIORITY
public static final int MASK_IOR_PRIORITY
public static final java.util.Comparator priorityComp
Constructor Detail |
public ClientBinding(Address address, ClientChannel channel, java.lang.Object transportAssociation)
public ClientBinding(Address address, ClientChannel channel, java.lang.Object transportAssociation, ServerManager serverManager)
public ClientBinding(Address address, SystemException ex)
Method Detail |
public Address getAddress()
public ClientChannel getClientChannel()
public ObjectAdapter getObjectAdapter()
public int getPriority()
public void setPriority(int priority)
public int hashCode()
public boolean equals(java.lang.Object obj)
public boolean local_invoke()
public ClientRequest create_request(Object target, java.lang.String operation, boolean response_expected)
target
- The target of the request.public ClientRequest create_locate_request(Object target)
target
- The target of the request.public ServantObject servant_preinvoke(java.lang.String operation, java.lang.Class expectedType) throws ForwardRequest
ForwardRequest
public void servant_postinvoke(ServantObject srvObject)
public boolean locate() throws ForwardRequest
ForwardRequest
public boolean is_a(java.lang.String repository_id) throws ForwardRequest
ForwardRequest
public Object get_interface_def() throws ForwardRequest
ForwardRequest
public DomainManager[] get_domain_managers() throws ForwardRequest
ForwardRequest
public Object get_component() throws ForwardRequest
ForwardRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |