|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openorb.iiop.IIOPServerProtocol
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.hostname
- Hostname to publish in IORsport
- Port to publish in IORstrans
- transport initializer.INITIALIZE
- if problem occoured during startup.Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public ORB orb()
ServerProtocol
orb
in interface ServerProtocol
public ServerManager getServerManager()
public boolean servesAddress(java.lang.String addr, int port)
public int state()
ServerProtocol
state
in interface ServerProtocol
public boolean open()
open
in interface ServerProtocol
public boolean pause()
pause
in interface ServerProtocol
public void close()
close
in interface ServerProtocol
public void listen(int timeout)
listen
in interface ServerProtocol
public 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |