|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openorb.net.ClientBinding
A client binding represents a potential request path between client and server.
Field Summary | |
static int |
DEAD_PRIORITY
|
static int |
FORCE_FALSE
|
static int |
FORCE_TRUE
|
static int |
FORCE_UNSET
|
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 |
PRIORITY_COMP
|
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 FORCE_UNSET
public static final int FORCE_FALSE
public static final int FORCE_TRUE
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 PRIORITY_COMP
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()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean local_invoke()
public ClientRequest create_request(Object target, java.lang.String operation, boolean response_expected)
target
- The target of the request.address
- The target address. If the target has been redirected
this may not correspond to the target's ior.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
public void servant_postinvoke(ServantObject srvObject)
public boolean locate() throws ForwardRequest
public boolean is_a(java.lang.String repository_id) throws ForwardRequest
public Object get_interface_def() throws ForwardRequest
public DomainManager[] get_domain_managers() throws ForwardRequest
public Object get_component() throws ForwardRequest
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |