org.objectweb.carol.cmi
Class StubData

java.lang.Object
  extended byorg.objectweb.carol.cmi.StubData

public class StubData
extends java.lang.Object

Author:
nieuviar

Constructor Summary
StubData(ClusterId id, byte[] serStub, int factor)
           
StubData(ClusterId id, java.rmi.Remote stub, int factor)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getFactor()
           
 ClusterId getId()
           
 double getLoadIncr()
           
 byte[] getSerializedStub()
           
 java.rmi.Remote getStub()
           
 java.lang.Object getStubOrException()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StubData

public StubData(ClusterId id,
                byte[] serStub,
                int factor)
         throws java.rmi.RemoteException

StubData

public StubData(ClusterId id,
                java.rmi.Remote stub,
                int factor)
         throws java.rmi.RemoteException
Method Detail

getId

public ClusterId getId()

getSerializedStub

public byte[] getSerializedStub()
                         throws java.io.IOException
Throws:
java.io.IOException

getStub

public java.rmi.Remote getStub()
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getStubOrException

public java.lang.Object getStubOrException()

getLoadIncr

public double getLoadIncr()

getFactor

public int getFactor()

toString

public java.lang.String toString()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)