|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.gmi.GroupSkeleton
The GroupSkeleton
class serves as a base class for generated
skeletons. It also has methods for reply combining.
Field Summary |
Constructor Summary | |
GroupSkeleton()
Constructor. |
Method Summary | |
void |
handleCombineMessage(ReadMessage m)
Receives a COMBINE or a
COMBINE_RESULT message. |
abstract void |
handleMessage(int invocationMode,
int resultMode,
ReadMessage r)
To be redefined by the skeletons. |
void |
init(GroupMember dest)
Initializes the skeleton further once the group is complete. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupSkeleton()
Method Detail |
public void init(GroupMember dest)
dest
- the group member to which this skeleton belongspublic final void handleCombineMessage(ReadMessage m) throws java.io.IOException, java.lang.ClassNotFoundException
COMBINE
or a
COMBINE_RESULT
message.
It is placed in a group message and enqueued in the proper queue,
and any waiters are notified.
m
- the message received
java.io.IOException
- is thrown on IO error.
java.lang.ClassNotFoundException
- is thrown when an object is read
whose class could not be found.public abstract void handleMessage(int invocationMode, int resultMode, ReadMessage r) throws IbisException, java.io.IOException
INVOCATION
message.
invocationMode
- summary of the invocation scheme of this invocationresultMode
- summary of the result scheme of this invocationr
- the message
IbisException
- is thrown when the result is an exception; the
nested exception is this result exception.
java.io.IOException
- is thrown on IO error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |