Class GuestbookServer

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by GuestbookServer
All Implemented Interfaces:
GbServer, java.io.Serializable, java.rmi.Remote

public class GuestbookServer
extends java.rmi.server.UnicastRemoteObject
implements GbServer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
GuestbookServer()
           
 
Method Summary
 void addComment(java.lang.String comment)
           
 java.lang.String getGuestbook()
           
static void main(java.lang.String[] args)
           
 
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

GuestbookServer

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

getGuestbook

public java.lang.String getGuestbook()
                              throws java.rmi.RemoteException
Specified by:
getGuestbook in interface GbServer
Throws:
java.rmi.RemoteException

addComment

public void addComment(java.lang.String comment)
                throws java.rmi.RemoteException
Specified by:
addComment in interface GbServer
Throws:
java.rmi.RemoteException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception