|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CORBA.portable.ObjectImpl org.omg.CORBA.DynamicImplementation com.isti.trinetwatch.server.gui_acceptor._GUIAcceptorImplBase com.isti.trinetwatch.server.GUIAcceptor_impl
public class GUIAcceptor_impl
Class GUIAcceptor implements an acceptor class which accepts new GUI-client connections and returns "IOR:" strings for 'GUIServices' CORBA objects.
Constructor Summary | |
---|---|
GUIAcceptor_impl(Server sObj,
long inactivityTimeout)
Creates a new instance of GUIAcceptor_impl |
Method Summary | |
---|---|
java.lang.String |
newConnection(java.lang.String clientIDString)
Returns an "IOR:" string for GUI services. |
void |
run()
When this method is run it checks for GUIService_impl objects who are waiting to be disconnected. |
void |
terminateThread()
This method informs the thread that it is time to quit. |
Methods inherited from class com.isti.trinetwatch.server.gui_acceptor._GUIAcceptorImplBase |
---|
_ids, invoke |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
---|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
---|
public GUIAcceptor_impl(Server sObj, long inactivityTimeout)
sObj
- A reference to a Server object.inactivityTimeout
- number of seconds of client inactivity
before a timeout occurs (and the client is disconnected).Method Detail |
---|
public java.lang.String newConnection(java.lang.String clientIDString)
newConnection
in interface GUIAcceptor
clientIDString
- The IP address of the client in string form.
public void terminateThread()
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |