org.objectweb.perseus.distribution.jgroups

Class JGroupsCoordinatorService

Implemented Interfaces:
DistResCoordinatorService

public class JGroupsCoordinatorService
extends java.lang.Object
implements DistResCoordinatorService

Copyright (C) 2003-2004 - France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Release: 1.0 Authors: Olivier Lobry (olivier.lobry@rd.francetelecom.com)

Constructor Summary

JGroupsCoordinatorService(JGroupsService drs)

Method Summary

Serializable
getNodeId()
void
nodeFailed(Address nodeId)
void
sendToAllUsers(Object rId, Serializable message)
void
sendToUser(Object rId, Serializable message, Object user)
void
sendToUsers(Object rId, Serializable message, Set users)
String
toString()

Constructor Details

JGroupsCoordinatorService

public JGroupsCoordinatorService(JGroupsService drs)

Method Details

getNodeId

public Serializable getNodeId()
Specified by:
getNodeId in interface DistResCoordinatorService


nodeFailed

public void nodeFailed(Address nodeId)


sendToAllUsers

public void sendToAllUsers(Object rId,
                           Serializable message)
            throws NotCoordinatorException
Specified by:
sendToAllUsers in interface DistResCoordinatorService


sendToUser

public void sendToUser(Object rId,
                       Serializable message,
                       Object user)
            throws NotCoordinatorException
Specified by:
sendToUser in interface DistResCoordinatorService


sendToUsers

public void sendToUsers(Object rId,
                        Serializable message,
                        Set users)
            throws NotCoordinatorException
Specified by:
sendToUsers in interface DistResCoordinatorService


toString

public String toString()


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.