|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openorb.iiop.IIOPServerProtocol
| Field Summary |
|---|
| Fields inherited from interface org.openorb.net.ServerProtocol |
|---|
STATE_CLOSED, STATE_LISTENING, STATE_PAUSED |
| Constructor Summary | |
|---|---|
IIOPServerProtocol(ServerManager serverManager,
org.openorb.iiop.CDRCodecFactory codecFactory,
IIOPTransportServerInitializer trans)
Create new IIOPServerProtocol |
|
| Method Summary | |
|---|---|
void |
close()
Stop listening, refuse all incoming connections. |
TaggedProfile |
create_profile(int profile_tag,
ComponentSet component_set,
byte[] object_key)
Construct a tagged profile from parts. |
ServerManager |
getServerManager()
|
void |
listen(int timeout)
Listen for a single connection. |
boolean |
open()
Move to the listening state. |
ORB |
orb()
An orb reference. |
boolean |
pause()
Move to the paused state. |
void |
run_listen()
Donate a thread for listening. |
boolean |
servesAddress(java.lang.String addr,
int port)
|
int |
state()
The channel state. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IIOPServerProtocol(ServerManager serverManager,
org.openorb.iiop.CDRCodecFactory codecFactory,
IIOPTransportServerInitializer trans)
serverManager - the server manager instance.codecFactory - codec factory for iiop codecs.trans - transport initializer.
INITIALIZE - if problem occoured during startup.| Method Detail |
public java.lang.String toString()
public ORB orb()
ServerProtocol
orb in interface ServerProtocolpublic ServerManager getServerManager()
public boolean servesAddress(java.lang.String addr,
int port)
public int state()
ServerProtocol
state in interface ServerProtocolpublic boolean open()
open in interface ServerProtocolpublic boolean pause()
pause in interface ServerProtocolpublic void close()
close in interface ServerProtocolpublic void listen(int timeout)
listen in interface ServerProtocolpublic void run_listen()
run_listen in interface ServerProtocol
public TaggedProfile create_profile(int profile_tag,
ComponentSet component_set,
byte[] object_key)
create_profile in interface ServerProtocol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||