Class PartnerServerImpl
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--PartnerServerImpl
- public class PartnerServerImpl
- extends java.rmi.server.UnicastRemoteObject
- implements PartnerServer
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.Hashtable |
pending
|
| 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 |
|
Method Summary |
boolean |
assignPartner(java.lang.String service,
Partner myself)
|
static void |
main(java.lang.String[] args)
|
| 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 |
pending
protected java.util.Hashtable pending
PartnerServerImpl
public PartnerServerImpl()
throws java.rmi.RemoteException
assignPartner
public boolean assignPartner(java.lang.String service,
Partner myself)
throws java.rmi.RemoteException
- Specified by:
- assignPartner in interface PartnerServer
main
public static void main(java.lang.String[] args)
throws java.rmi.RemoteException,
java.rmi.AlreadyBoundException