|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sssw.jbroker.api.multicast.Group
A Group represents a set of objects that communicate using multicast messages. It is composed of two components - a multicast IP address, and a unique name.
Method Summary | |
static Group |
createGroup(ORB orb,
InetAddress address,
String name)
Create a multicast Group. |
Object |
createObjref(Class cl)
Get the object reference of a given type and default ttl of 1 to communicate with this Group. |
Object |
createObjref(Class cl,
byte ttl)
Get the object reference of a given type and ttl to communicate with this Group. |
boolean |
equals(Object obj)
Compares two Objects for equality. |
String |
getHostAddress()
Returns the IP address string "%d.%d.%d.%d". |
InetAddress |
getInetAddress()
Returns the IP adress for this Group. |
String |
getName()
Get the name of the Group. |
int |
hashCode()
Returns a hash code value for the object. |
Object |
joinGroup(MulticastObject servant)
Make the given servant join this group. |
Object |
joinGroup(MulticastObject servant,
byte ttl)
Make the given servant join this group. |
Object |
joinGroup(Remote remote)
Make the given Remote join this Group. |
Object |
joinGroup(Remote remote,
byte ttl)
Make the given Remote join this Group. |
void |
leaveGroup(MulticastObject servant)
|
void |
leaveGroup(Remote remote)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Group createGroup(ORB orb, InetAddress address, String name) throws MulticastServerException
orb
- the JBroker orb in useaddress
- the multicast addressname
- the group name
MulticastServerException
public Object createObjref(Class cl, byte ttl) throws MulticastServerException
cl
- the interface of the multicast objectttl
- the multicast ttl for object invocations
MulticastServerException
public Object createObjref(Class cl) throws MulticastServerException
cl
- the interface of the multicast object
MulticastServerException
public Object joinGroup(Remote remote) throws RemoteException
remote
- the multicast object implementation
RemoteException
public Object joinGroup(Remote remote, byte ttl) throws RemoteException
remote
- the multicast object implementationttl
- the multicast ttl for object invocations
RemoteException
public Object joinGroup(MulticastObject servant)
servant
- the multicast servant that receives requests
public Object joinGroup(MulticastObject servant, byte ttl)
servant
- the multicast servant that receives requeststtl
- the multicast ttl for object invocations
public void leaveGroup(Remote remote)
public void leaveGroup(MulticastObject servant)
public final String getName()
public final String getHostAddress()
public final InetAddress getInetAddress()
public int hashCode()
public boolean equals(Object obj)
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |