Class RMICallbackClientImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--RMICallbackClientImpl

public class RMICallbackClientImpl
extends java.rmi.server.UnicastRemoteObject
implements RMICallbackClient, java.awt.event.ActionListener

See Also:
Serialized Form

Field Summary
protected  java.awt.Frame frame
           
protected  java.lang.String host
           
protected  java.awt.TextField input
           
protected  java.awt.TextArea output
           
protected  RMICallbackServer server
           
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
log, logname, serialVersionUID
 
Fields inherited from class java.rmi.server.RemoteObject
ref, serialVersionUID
 
Constructor Summary
RMICallbackClientImpl(java.lang.String host)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
           
static void main(java.lang.String[] args)
           
 void said(java.lang.String message)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
, clone, exportObject, exportObject, exportObject, exportObject, readObject, reexport, 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, writeObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

host

protected java.lang.String host

frame

protected java.awt.Frame frame

input

protected java.awt.TextField input

output

protected java.awt.TextArea output

server

protected RMICallbackServer server
Constructor Detail

RMICallbackClientImpl

public RMICallbackClientImpl(java.lang.String host)
                      throws java.rmi.RemoteException
Method Detail

start

public void start()
           throws java.rmi.RemoteException,
                  java.rmi.NotBoundException

stop

public void stop()
          throws java.rmi.RemoteException

said

public void said(java.lang.String message)
Specified by:
said in interface RMICallbackClient

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

main

public static void main(java.lang.String[] args)
                 throws java.rmi.RemoteException,
                        java.rmi.NotBoundException