|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Client channel interface. A client channel creates and sends requests and recieves replies.
| Field Summary | |
static int |
STATE_CLOSED
Channel closed. |
static int |
STATE_CONNECTED
Connection open. |
static int |
STATE_PAUSED
Channel paused. |
| Method Summary | |
void |
close(boolean kill_requests,
SystemException ex)
Change to the CLOSED state and reject new requests by throwing a system exception with status COMPLETED_NO. |
ClientRequest |
create_locate_request(Object target,
Address address,
java.lang.Object transportAssociation)
Create a locate request. |
ClientRequest |
create_request(Object target,
Address address,
java.lang.Object transportAssociation,
java.lang.String operation,
boolean response_expected)
Create a request. |
ORB |
orb()
An orb reference. |
void |
pause()
Pause the channel. |
int |
state()
Connection state. |
| Methods inherited from interface org.openorb.net.Channel |
active_requests, channel_age, recv, run_recv |
| Field Detail |
public static final int STATE_CONNECTED
public static final int STATE_PAUSED
public static final int STATE_CLOSED
| Method Detail |
public ORB orb()
public int state()
public void pause()
public void close(boolean kill_requests,
SystemException ex)
public ClientRequest create_request(Object target,
Address address,
java.lang.Object transportAssociation,
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.
public ClientRequest create_locate_request(Object target,
Address address,
java.lang.Object transportAssociation)
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.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||