mChaRM.mChaRMCollection
Class normalChannel

java.lang.Object
  |
  +--uka.karmi.rmi.server.RemoteObject
        |
        +--uka.karmi.rmi.server.UnicastRemoteObject
              |
              +--mChaRM.multichannel.channelCore
                    |
                    +--mChaRM.mChaRMCollection.normalChannel
All Implemented Interfaces:
channelInterface, java.lang.Cloneable, uka.karmi.rmi.Remote

public class normalChannel
extends channelCore
implements channelInterface

realizes a multi-channel of kind normal. Its meta-behavior does nothing. It can be considered as a default multi-channel.

Since:
Version 1.0
Version:
1.1
Author:
Walter Cazzola (cazzola@disi.unige.it)

Fields inherited from class uka.karmi.rmi.server.RemoteObject
serverRef
 
Constructor Summary
normalChannel(java.lang.String[] RsName)
          constructor of multi-channels of kind normal.
 
Methods inherited from class mChaRM.multichannel.channelCore
coreMetaBehavior, howManyReceivers, howManySenders, kind, receiverName, receiverStub, receiverStubByPosition, receiverStubClassName, retrieveReceiverFieldValue, retrieveSenderFieldValue, senderName, senderStub, senderStubByPosition, senderStubClassName, senderStubHasBeenCreated, setKind, setReceiverName, setReceiverStub, setReceiverStubClassName, setRsName, setSenderName, setSenderStub, setSenderStubClassName, supplyASenderStub
 
Methods inherited from class uka.karmi.rmi.server.UnicastRemoteObject
buildStub, clone, exportObject, exportObject, unexportObject
 
Methods inherited from class uka.karmi.rmi.server.RemoteObject
equals, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mChaRM.multichannel.channelInterface
coreMetaBehavior, senderStubHasBeenCreated, supplyASenderStub
 

Constructor Detail

normalChannel

public normalChannel(java.lang.String[] RsName)
              throws uka.karmi.rmi.RemoteException,
                     ReceiverStubNotFoundException
constructor of multi-channels of kind normal.
It calls the channelCore constructor with kind normal and as classes for sender and receiver stubs the default.
Parameters:
RsName - an Array of Strings representing the name of the receivers, which it is connected to.
Throws:
ReceiverStubNotFoundException - thrown when one of the specified receiver wasn't started before the core.