public interface ClientChannel extends Channel
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_CLOSED
Channel closed.
|
static int |
STATE_CONNECTED
Connection open.
|
static int |
STATE_PAUSED
Channel paused.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean kill_requests,
org.omg.CORBA.SystemException ex)
Change to the CLOSED state and reject new requests by throwing a system
exception with status COMPLETED_NO.
|
ClientRequest |
create_locate_request(org.omg.CORBA.Object target,
Address address)
Create a locate request.
|
ClientRequest |
create_request(org.omg.CORBA.Object target,
Address address,
java.lang.String operation,
boolean response_expected)
Create a request.
|
org.omg.CORBA.ORB |
orb()
An orb reference.
|
void |
pause()
Pause the channel.
|
int |
state()
Connection state.
|
active_requests, channel_age, recv, run_recv, transportstatic final int STATE_CONNECTED
static final int STATE_PAUSED
static final int STATE_CLOSED
org.omg.CORBA.ORB orb()
int state()
void pause()
void close(boolean kill_requests,
org.omg.CORBA.SystemException ex)
ClientRequest create_request(org.omg.CORBA.Object target, Address address, java.lang.String operation, boolean response_expected) throws RebindChannelException
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.RebindChannelExceptionClientRequest create_locate_request(org.omg.CORBA.Object target, Address address) throws RebindChannelException
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.RebindChannelException