|
||||||||||
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 ClientChannel
public int state()
state
in interface ClientChannel
public int active_requests()
active_requests
in interface Channel
public int channel_age()
channel_age
in interface Channel
public 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 ClientChannel
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
public ClientRequest create_locate_request(Object target, Address address, java.lang.Object tpAssc) throws RebindChannelException
create_locate_request
in interface ClientChannel
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
public boolean recv(int timeout)
recv
in interface Channel
public void run_recv()
run_recv
in interface Channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |