jgroup.relacs.daemon
Interface DaemonService

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
Daemon

public interface DaemonService
extends java.rmi.Remote

The DaemonService interface describes the methods accessible remotely (same host, but distinct JVMs) from the daemon.

Since:
Jgroup 1.2
Author:
Hein Meling

Field Summary
static java.lang.String DAEMON_NAME
          Service name used to register each daemon in its bootstrap registry.
 
Method Summary
 void addEvent(Event event)
          Adds an event generated by a member to the local queue of events.
 MemberId getMemberId(EndPoint endpoint)
          Returns a new member id for a new member.
 int members()
          Returns the number of members associated with this Jgroup daemon.
 

Field Detail

DAEMON_NAME

static final java.lang.String DAEMON_NAME
Service name used to register each daemon in its bootstrap registry.

See Also:
Constant Field Values
Method Detail

getMemberId

MemberId getMemberId(EndPoint endpoint)
                     throws java.rmi.RemoteException
Returns a new member id for a new member. The new member id is obtained by concatenating the endpoint of this daemon, the incarnation number used to distinguish different incarnation of the same endpoint, and a sequence number used to distinguish different members.

Throws:
java.rmi.RemoteException

members

int members()
            throws java.rmi.RemoteException
Returns the number of members associated with this Jgroup daemon.

Throws:
java.rmi.RemoteException

addEvent

void addEvent(Event event)
              throws java.rmi.RemoteException
Adds an event generated by a member to the local queue of events.

Throws:
java.rmi.RemoteException


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.