Class GuestbookServer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
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
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
GuestbookServer
public GuestbookServer()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
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