client
Class Client

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by client.Client
All Implemented Interfaces:
RemoteListener, java.io.Serializable, java.rmi.Remote

public class Client
extends java.rmi.server.UnicastRemoteObject
implements RemoteListener

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
Client()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void receiveEvent(java.lang.Object event)
          Method for a remote listener to receive an event
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Client

public Client()
       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

main

public static void main(java.lang.String[] args)

receiveEvent

public void receiveEvent(java.lang.Object event)
                  throws java.rmi.RemoteException
Description copied from interface: RemoteListener
Method for a remote listener to receive an event

Specified by:
receiveEvent in interface RemoteListener
Parameters:
event - the event
Throws:
java.rmi.RemoteException - RMI Exception