| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
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_CLOSEDClosed. | 
| static int | STATE_LISTENINGListening for new connections. | 
| static int | STATE_PAUSEDPaused. | 
| 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. | 
|  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. | 
|  int | state()The channel state. | 
| Field Detail | 
public 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.public static final int STATE_PAUSED
public static final int STATE_CLOSED
perform_work returns false. Leaving this state
 will result in re-registering with the ServerManager.| Method Detail | 
public ORB orb()
public int state()
public boolean open()
public boolean pause()
public void close()
public void listen(int timeout)
public void run_listen()
public TaggedProfile create_profile(int profile_tag,
                                    ComponentSet component_set,
                                    byte[] object_key)
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||