|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openorb.iiop.IIOPClientChannel
Implements the ClientChannel interface for IIOP.
| Field Summary |
|---|
| Fields inherited from interface org.openorb.net.ClientChannel |
|---|
STATE_CLOSED, STATE_CONNECTED, STATE_PAUSED |
| Method Summary | |
|---|---|
int |
active_requests()
Active request count. |
int |
channel_age()
Indication of channel age. |
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 tpAssc)
Create a locate request. |
ClientRequest |
create_request(Object target,
Address address,
java.lang.Object tpAssc,
java.lang.String operation,
boolean response_expected)
Create a request. |
int |
getTCSC()
The selected char codeset. |
int |
getTCSW()
The selected wide codeset. |
ORB |
orb()
An orb reference. |
void |
pause()
Begin the pausing sequence, enter the PAUSED state. |
boolean |
recv(int timeout)
Wait the specified amount of time for an incoming message. |
void |
run_recv()
Donate a thread for recieving messages. |
int |
state()
Connection state. |
java.lang.String |
toString()
|
Version |
version()
Return the GIOP/IIOP version |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String toString()
public Version version()
public int getTCSC()
public int getTCSW()
public ORB orb()
ClientChannel
orb in interface ClientChannelpublic int state()
state in interface ClientChannelpublic int active_requests()
active_requests in interface Channelpublic int channel_age()
channel_age in interface Channelpublic void pause()
pause in interface ClientChannel
public void close(boolean kill_requests,
SystemException ex)
close in interface ClientChannel
public ClientRequest create_request(Object target,
Address address,
java.lang.Object tpAssc,
java.lang.String operation,
boolean response_expected)
throws RebindChannelException
create_request in interface ClientChanneltarget - 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
public ClientRequest create_locate_request(Object target,
Address address,
java.lang.Object tpAssc)
throws RebindChannelException
create_locate_request in interface ClientChanneltarget - The target of the request.address - The target address. If the target has been redirected
this may not correspond to the target's ior.
RebindChannelExceptionpublic boolean recv(int timeout)
recv in interface Channelpublic void run_recv()
run_recv in interface Channel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||