com.objectspace.voyager.space.multicasting
Class Multicast
com.objectspace.voyager.space.multicasting.Multicast
- public class Multicast
- implements java.io.Serializable
Defines multicast functionality for Spaces.
- Version:
- 3.0
- See Also:
- Serialized Form
Constructor Summary |
Multicast(java.lang.String signature,
java.lang.Object[] args,
java.lang.String classname)
Construct a subscription with an initial subject. |
Method Summary |
static void |
invoke(ISubspace subspace,
java.lang.String signature,
java.lang.Object[] args,
java.lang.String classname)
Deliver a oneway message to every object and to all subspaces in my space. |
void |
perform(java.lang.Object object)
|
Multicast
public Multicast(java.lang.String signature,
java.lang.Object[] args,
java.lang.String classname)
- Construct a subscription with an initial subject.
- Parameters:
subject
- The initial subject.
invoke
public static void invoke(ISubspace subspace,
java.lang.String signature,
java.lang.Object[] args,
java.lang.String classname)
- Deliver a oneway message to every object and to all subspaces in my space. Objects must be type-compatible with the specified class. Subspaces must implement ISubspace.
- Parameters:
signature
- The simple name or the full method signature.args
- Either null (no arguments) or an array of arguments with primitives wrapped in their object equivalents.classname
- The class whose instances will receive oneway messages.
perform
public void perform(java.lang.Object object)
(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240