All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ninja.rmi.McastOw_ServerThread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----ninja.rmi.NinjaServerThread
                   |
                   +----ninja.rmi.McastOw_ServerThread

public class McastOw_ServerThread
extends NinjaServerThread
An McastOw_ServerThread deals with incoming RMI connections on a multicast UDP socket. Calls are unreliable and one-way (no return value or exceptions may be returned from the server method).


Method Index

 o getClientHost()
Returns the hostname of the client making the RMI call in this thread.
 o getClientPort()
Returns the remote port of the client making the RMI call in this thread.
 o getServerAddress()
Returns the IP address of the multicast group on which the server is listening.
 o getServerPort()
Returns the port number on which the server is listening for new connections.
 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 of the client making the RMI call in this thread.

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

 o getServerAddress
 public InetAddress getServerAddress() throws ServerNotActiveException
Returns the IP address of the multicast group on which the server is listening.

 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