Class PhoneUserServer

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

public class PhoneUserServer
extends java.rmi.server.UnicastRemoteObject
implements PhoneSignalInterface, java.lang.Runnable

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
PhoneUserServer(User user)
           
 
Method Summary
 void DialIn(java.lang.String phoneNumber, java.lang.String callerName)
           
 void Hangup(java.lang.String phoneNumber, java.lang.String callerName)
           
 void run()
           
 void stopThread()
           
 
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

PhoneUserServer

public PhoneUserServer(User user)
                throws java.rmi.RemoteException
Method Detail

stopThread

public void stopThread()

run

public void run()
Specified by:
run in interface java.lang.Runnable

DialIn

public void DialIn(java.lang.String phoneNumber,
                   java.lang.String callerName)
            throws java.rmi.RemoteException
Specified by:
DialIn in interface PhoneSignalInterface

Hangup

public void Hangup(java.lang.String phoneNumber,
                   java.lang.String callerName)
            throws java.rmi.RemoteException
Specified by:
Hangup in interface PhoneSignalInterface