org.livetribe.slp.api.sa
Interface ServiceAgent

All Superinterfaces:
Agent
All Known Implementing Classes:
StandardServiceAgent

public interface ServiceAgent
extends Agent

Version:
$Rev: 200 $ $Date: 2006-08-09 14:17:10 +0200 (Wed, 09 Aug 2006) $

Method Summary
 void deregister(ServiceInfo service)
           
 void register(ServiceInfo service)
          Registers the given service with directory agents.
 void setServiceAgentManager(ServiceAgentManager manager)
           
 
Methods inherited from interface org.livetribe.slp.api.Agent
isRunning, setScopes, start, stop
 

Method Detail

setServiceAgentManager

void setServiceAgentManager(ServiceAgentManager manager)

register

void register(ServiceInfo service)
              throws IOException,
                     ServiceLocationException
Registers the given service with directory agents. If this SA is not yet started, the service will be scheduled for registration when the SA is started.

Parameters:
service - The service to register
Throws:
IOException
ServiceLocationException

deregister

void deregister(ServiceInfo service)
                throws IOException,
                       ServiceLocationException
Throws:
IOException
ServiceLocationException


Copyright © 2006-2012 LiveTribe. All Rights Reserved.