org.livetribe.slp.api
Class StandardAgent
java.lang.Object
org.livetribe.slp.api.StandardAgent
- All Implemented Interfaces:
- Agent
- Direct Known Subclasses:
- StandardDirectoryAgent, StandardServiceAgent, StandardUserAgent
public abstract class StandardAgent
- extends Object
- implements Agent
- Version:
- $Rev$ $Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Logger logger
StandardAgent
public StandardAgent()
getPort
public int getPort()
- Returns the SLP port.
- See Also:
setPort(int)
setPort
public void setPort(int port)
- Sets the SLP port.
- See Also:
getPort()
getScopes
public Scopes getScopes()
setScopes
public void setScopes(Scopes scopes)
- Specified by:
setScopes
in interface Agent
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface Agent
start
public void start()
throws Exception
- Specified by:
start
in interface Agent
- Throws:
Exception
doStart
protected abstract void doStart()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Agent
- Throws:
Exception
doStop
protected abstract void doStop()
throws Exception
- Throws:
Exception
Copyright © 2006-2012 LiveTribe. All Rights Reserved.