|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerProtocol
The server protocol represents a listen point at which clients may create a ServerChannel object through which to issue requests. The server protocol is also responsible for constructing profiles to be published within an IOR.
Field Summary | |
---|---|
static int |
STATE_CLOSED
Closed. |
static int |
STATE_LISTENING
Listening for new connections. |
static int |
STATE_PAUSED
Paused. |
Method Summary | |
---|---|
void |
close()
Stop listening, refuse all incoming connections. |
org.omg.IOP.TaggedProfile |
create_profile(int profile_tag,
ComponentSet component_set,
byte[] object_key)
Construct a tagged profile from parts. |
void |
listen(int timeout)
Listen for a single connection. |
boolean |
open()
Move to the listening state. |
org.omg.CORBA.ORB |
orb()
An orb reference. |
boolean |
pause()
Move to the paused state. |
void |
run_listen()
Donate a thread for listening. |
int |
state()
The channel state. |
Field Detail |
---|
static final int STATE_LISTENING
perform_work
waits
for a specified time for a new incoming connections and
work_pending returns true if there is a queued connection
request.
static final int STATE_PAUSED
static final int STATE_CLOSED
perform_work
returns false. Leaving this state
will result in re-registering with the ServerManager.
Method Detail |
---|
org.omg.CORBA.ORB orb()
int state()
boolean open()
boolean pause()
void close()
void listen(int timeout)
void run_listen()
org.omg.IOP.TaggedProfile create_profile(int profile_tag, ComponentSet component_set, byte[] object_key)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |