|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjgroup.relacs.gmi.GroupEndPoint
public class GroupEndPoint
Handles identity of groups. Knows endpoints of the current view and the group leader. Responsible for updating itself when needed.
Constructor Summary | |
---|---|
GroupEndPoint()
Constructor for externaliztion. |
Method Summary | |
---|---|
void |
addMember(MemberId member)
Add the given MemberId to the this
group endpoint. |
void |
addMembers(java.util.Iterator<MemberId> iter)
Add MemberId s to the given set of members. |
java.rmi.RemoteException |
executeCall(net.jini.jeri.OutboundRequest call)
|
int |
getGroupId()
Returns the group identifier associated with this group endpoint proxy. |
java.util.Iterator<MemberId> |
getMembers()
Returns an iterator over the set of MemberId s
in this group endpoint. |
int |
hashCode()
|
net.jini.jeri.OutboundRequestIterator |
newCall(net.jini.core.constraint.InvocationConstraints constraints)
|
net.jini.jeri.OutboundRequestIterator |
newCall(MethodSemantics semantics)
Returns an OutboundRequestIterator to use to send remote call to the
referenced remote object. |
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
|
void |
updateClientView(View view)
Update the client-side side member list according to the given view. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GroupEndPoint()
Method Detail |
---|
public int getGroupId()
public void addMembers(java.util.Iterator<MemberId> iter)
MemberId
s to the given set of members.
public void addMember(MemberId member)
MemberId
to the this
group endpoint.
public java.util.Iterator<MemberId> getMembers()
MemberId
s
in this group endpoint.
public void updateClientView(View view)
This updating is only done on the client-side in response to receiving a new view from the server-side.
view
- the new server-side view; null
views will
be ignored.public net.jini.jeri.OutboundRequestIterator newCall(net.jini.core.constraint.InvocationConstraints constraints)
newCall
in interface net.jini.jeri.ObjectEndpoint
public net.jini.jeri.OutboundRequestIterator newCall(MethodSemantics semantics)
OutboundRequestIterator
to use to send remote call to the
referenced remote object.
public java.rmi.RemoteException executeCall(net.jini.jeri.OutboundRequest call) throws java.io.IOException
executeCall
in interface net.jini.jeri.ObjectEndpoint
java.io.IOException
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |