|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.iiop.IIOPServerChannel
IIOP implementation of ServerChannel
| Field Summary | |
static int |
CONN_SC_BIDIR
|
static int |
CONN_SC_CODESETS
|
static int |
CONN_SC_TOTAL
|
| Fields inherited from interface org.openorb.net.ServerChannel |
STATE_CLOSED, STATE_CONNECTED |
| Constructor Summary | |
IIOPServerChannel(ServerManager serverManager,
IIOPClientChannel peer,
Codec codec)
Constructor for bidir delegates. |
|
IIOPServerChannel(ServerManager serverManager,
Transport transport,
IIOPClientProtocol clientProtocol,
Codec codec)
Creates new IIOPServerChannel |
|
| Method Summary | |
int |
active_requests()
Active request count. |
int |
channel_age()
Indication of channel age. |
void |
checkBiDirActivation(IIOPServerRequest request)
Completes the bidir activation. |
void |
close()
Close the connection. |
java.util.Map |
getActiveRequestMap()
Return the array with active requests. |
int |
getChannelAge()
Return the age of the channel. |
ServerManager |
getServerManager()
Return the server manager of this channel. |
SocketQueue |
getSocketQueue()
Return the socket queue. |
java.lang.Object |
getSyncState()
Return the synchronization state of the client channel. |
int |
getTCSC()
returns the selected char codeset. |
int |
getTCSW()
Returns the selected wide char codeset. |
ORB |
orb()
Return the orb instance. |
boolean |
recv(int timeout)
Wait the specified amount of time for an incoming message. |
void |
run_recv()
Donate a thread for recieving messages. |
void |
setClientPeer(IIOPClientChannel cltchan)
Set this server's peer, which is usually the client. |
void |
setPendingClose()
Set the channel to a closing state.. |
void |
setState(int state)
Sets the state of the channel. |
void |
setTCSC(int tcsc)
Sets the selected char codeset. |
void |
setTCSW(int tcsw)
Sets the selected wide char codeset. |
void |
soft_close(boolean ifActive)
Close the connection after all currently processing requests are complete. |
int |
state()
Return the state of the channel. |
java.lang.String |
toString()
Creates a stringified representation of this class. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CONN_SC_TOTAL
public static final int CONN_SC_CODESETS
public static final int CONN_SC_BIDIR
| Constructor Detail |
public IIOPServerChannel(ServerManager serverManager,
Transport transport,
IIOPClientProtocol clientProtocol,
Codec codec)
public IIOPServerChannel(ServerManager serverManager,
IIOPClientChannel peer,
Codec codec)
| Method Detail |
public java.util.Map getActiveRequestMap()
public SocketQueue getSocketQueue()
public ServerManager getServerManager()
public java.lang.Object getSyncState()
public int getChannelAge()
public void setClientPeer(IIOPClientChannel cltchan)
cltchan - The client channel.public int getTCSC()
public void setTCSC(int tcsc)
tcsc - The char codest.public int getTCSW()
public void setTCSW(int tcsw)
tcsw - The wide char codeset.public void setPendingClose()
public java.lang.String toString()
toString in class java.lang.Objectpublic ORB orb()
orb in interface ServerChannelpublic int state()
ServerChannelstate in interface ServerChannelpublic void setState(int state)
state - The state to switch this channel into.public int active_requests()
active_requests in interface Channelpublic int channel_age()
channel_age in interface Channelpublic void close()
close in interface ServerChannelpublic void soft_close(boolean ifActive)
soft_close in interface ServerChannelpublic boolean recv(int timeout)
recv in interface Channelpublic void run_recv()
run_recv in interface Channelpublic void checkBiDirActivation(IIOPServerRequest request)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||