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.


Method Index

 o getClientHost()
Returns the hostname of the client making the RMI call in this thread.
 o getClientPort()
Returns the remote port number of the client making the RMI call in this thread.
 o getServerPort()
Returns the port on which the server is listening for new calls.
 o run()
The run() method of the Thread; is invoked by doing thread.start().

Methods

 o getClientHost
 public String getClientHost() throws ServerNotActiveException
Returns the hostname of the client making the RMI call in this thread.

 o getClientPort
 public int getClientPort() throws ServerNotActiveException
Returns the remote port number of the client making the RMI call in this thread.

 o getServerPort
 public int getServerPort() throws ServerNotActiveException
Returns the port on which the server is listening for new calls.

 o 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