Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.multicast
Class MulticastObject

java.lang.Object
  extended bycom.sssw.jbroker.api.multicast.MulticastObject

public abstract class MulticastObject
extends Object

The MulticastObject is the base class of the server implementations to be used with the Multicast Object Invocations feature of JBroker.

Since:
JBroker 2.1

Constructor Summary
MulticastObject()
           
 
Method Summary
abstract  String[] _all_interfaces()
          Get all the repository IDs.
 ORB _orb()
          Get the ORB.
 void _orb(ORB orb)
          Set the ORB.
 InetAddress getCallerAddress()
           
 int getCallerPort()
           
 Object joinGroup(Group group)
          Join the given multicast Group.
 Object joinGroup(Group group, byte ttl)
          Join the given multicast Group.
 void leaveGroup(Group group)
          Leave the given multicast Group.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastObject

public MulticastObject()
Method Detail

joinGroup

public Object joinGroup(Group group)
Join the given multicast Group. A servant can join multiple groups.

Parameters:
group - the group to join

joinGroup

public Object joinGroup(Group group,
                        byte ttl)
Join the given multicast Group. A servant can join multiple groups.

Parameters:
group - the group to join
ttl - the time-to-live

leaveGroup

public void leaveGroup(Group group)
Leave the given multicast Group.

Parameters:
group - the group to leave

_orb

public final ORB _orb()
Get the ORB.


_orb

public final void _orb(ORB orb)
Set the ORB.


getCallerAddress

public final InetAddress getCallerAddress()

getCallerPort

public final int getCallerPort()

_all_interfaces

public abstract String[] _all_interfaces()
Get all the repository IDs.


Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.