ibis.gmi
Class GroupMethod

java.lang.Object
  extended byibis.gmi.GroupMethod

public class GroupMethod
extends java.lang.Object

A GroupMethod object represents a method of a specific group reference. It contains a single method configure that can be used to set the invocation and reply handling schemes of the method it represents.


Field Summary
 int destinationSkeleton
          An identification of the destination skeleton, for single invocations.
 int index
          A number uniquely defining this method.
 InvocationScheme inv
          After configuration, the InvocationScheme inv holds the invocation scheme.
 int invocation_mode
          A summary of the invocation scheme.
 ReplyScheme rep
          After configuration, the ReplyScheme rep holds the reply scheme.
 int result_mode
          A summary of the reply scheme.
 SendPort sendport
          The sendport from which "single" or "group" invocations should obtain the write message.
 
Constructor Summary
GroupMethod(GroupStub parent, int index, ParameterVector params, java.lang.String descriptor)
          Constructor.
 
Method Summary
 void configure(InvocationScheme invscheme, ReplyScheme repscheme)
          Method configuration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inv

public InvocationScheme inv
After configuration, the InvocationScheme inv holds the invocation scheme.


rep

public ReplyScheme rep
After configuration, the ReplyScheme rep holds the reply scheme.


invocation_mode

public int invocation_mode
A summary of the invocation scheme.


result_mode

public int result_mode
A summary of the reply scheme.


sendport

public SendPort sendport
The sendport from which "single" or "group" invocations should obtain the write message.


index

public int index
A number uniquely defining this method.


destinationSkeleton

public int destinationSkeleton
An identification of the destination skeleton, for single invocations.

Constructor Detail

GroupMethod

public GroupMethod(GroupStub parent,
                   int index,
                   ParameterVector params,
                   java.lang.String descriptor)
Constructor.

Parameters:
parent - the parent stub
index - the method identification
params - a parameter vector specific for this method
descriptor - the descriptor of the method
Method Detail

configure

public void configure(InvocationScheme invscheme,
                      ReplyScheme repscheme)
               throws ConfigurationException
Method configuration. This method just fills in the fields, and does some sanity checks.

Parameters:
invscheme - the invocation scheme
repscheme - the reply scheme
Throws:
ConfigurationException - when some illegal configuration is given.


The Ibis project