com.mchange.rmi
Class RMIRegistryCallingCard

java.lang.Object
  extended by com.mchange.rmi.RMIRegistryCallingCard
All Implemented Interfaces:
CallingCard, java.io.Serializable

public class RMIRegistryCallingCard
extends java.lang.Object
implements CallingCard, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
RMIRegistryCallingCard(java.lang.String regHost, int reg_port, java.lang.String name)
           
RMIRegistryCallingCard(java.lang.String regHost, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.rmi.Remote findRemote()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMIRegistryCallingCard

public RMIRegistryCallingCard(java.lang.String regHost,
                              int reg_port,
                              java.lang.String name)

RMIRegistryCallingCard

public RMIRegistryCallingCard(java.lang.String regHost,
                              java.lang.String name)
Method Detail

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface CallingCard
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface CallingCard
Overrides:
hashCode in class java.lang.Object

findRemote

public java.rmi.Remote findRemote()
                           throws ServiceUnavailableException,
                                  java.rmi.RemoteException
Specified by:
findRemote in interface CallingCard
Throws:
ServiceUnavailableException
java.rmi.RemoteException

toString

public java.lang.String toString()
Specified by:
toString in interface CallingCard
Overrides:
toString in class java.lang.Object