org.apache.geronimo.messaging.remotenode
Interface NodeServer

All Known Implementing Classes:
NodeServerImpl

public interface NodeServer

A NodeServer listens for remote nodes and delegates to a RemoteNodeManager their management.

Version:
$Revision: 1.2 $ $Date: 2004/07/20 00:15:06 $

Method Summary
 void setRemoteNodeManager(RemoteNodeManager aManager)
          Sets the RemoteNodeManager in charge of managing the remote nodes, which have joined this server.
 void start()
          Start the server.
 void stop()
          Stop the server.
 

Method Detail

start

public void start()
           throws NodeException,
                  IllegalStateException
Start the server.

Throws:
NodeException - If the server can not be started.
IllegalStateException - Indicates that no RemoteNodeManger has been set.

stop

public void stop()
Stop the server.


setRemoteNodeManager

public void setRemoteNodeManager(RemoteNodeManager aManager)
Sets the RemoteNodeManager in charge of managing the remote nodes, which have joined this server.
A NodeServer must notify this RemoteNodeManager when a new connection abstracting a remote note has joined it.

Parameters:
aManager - Manager of RemoteNode.


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.