|
||||||||||
| 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 MemberIds 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 MemberIds
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)
MemberIds to the given set of members.
public void addMember(MemberId member)
MemberId to the this
group endpoint.
public java.util.Iterator<MemberId> getMembers()
MemberIds
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.ObjectEndpointpublic 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.ObjectEndpointjava.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic 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.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||