All Packages Class Hierarchy This Package Previous Next Index
Class ninja.rmi.UnrelOw_ServerThread
java.lang.Object
|
+----java.lang.Thread
|
+----ninja.rmi.NinjaServerThread
|
+----ninja.rmi.UnrelOw_ServerThread
- public class UnrelOw_ServerThread
- extends NinjaServerThread
An UnrelOw_ServerThread implements a NinjaServerThread which accepts
unreliable, incoming only calls on a UDP socket. The server is not allowed
to throw an exception or return any arguments to the call.
-
getClientHost()
- Returns the hostname of the client making the RMI call in this thread.
-
getClientPort()
- Returns the remote port number of the client making the RMI call in
this thread.
-
getServerPort()
- Returns the port on which the server is listening for new calls.
-
run()
- The run() method of the Thread; is invoked by doing thread.start().
getClientHost
public String getClientHost() throws ServerNotActiveException
- Returns the hostname of the client making the RMI call in this thread.
getClientPort
public int getClientPort() throws ServerNotActiveException
- Returns the remote port number of the client making the RMI call in
this thread.
getServerPort
public int getServerPort() throws ServerNotActiveException
- Returns the port on which the server is listening for new calls.
run
public void run()
- The run() method of the Thread; is invoked by doing thread.start().
- Overrides:
- run in class NinjaServerThread
All Packages Class Hierarchy This Package Previous Next Index