org.objectweb.perseus.distribution.jgroups

Class JGroupsService

Implemented Interfaces:
MembershipListener, MessageListener, RequestHandler

public class JGroupsService
extends java.lang.Object
implements RequestHandler, MessageListener, MembershipListener

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)

Method Summary

void
block()
Channel
getChannel()
byte[]
getState()
Object
handle(Message message)
void
initCoordIds(Object resId, Vector v, Address main)
void
receive(Message message)
void
setChannel(Channel channel)
void
setState(byte[] bytes)
void
suspect(Address address)
String
toString()
void
viewAccepted(View view)

Method Details

block

public void block()


getChannel

public Channel getChannel()


getState

public byte[] getState()


handle

public Object handle(Message message)


initCoordIds

public void initCoordIds(Object resId,
                         Vector v,
                         Address main)


receive

public void receive(Message message)


setChannel

public void setChannel(Channel channel)


setState

public void setState(byte[] bytes)


suspect

public void suspect(Address address)


toString

public String toString()


viewAccepted

public void viewAccepted(View view)


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