org.livetribe.slp.spi.sa
Class StandardServiceAgentManager
java.lang.Object
org.livetribe.slp.spi.StandardAgentManager
org.livetribe.slp.spi.sa.StandardServiceAgentManager
- All Implemented Interfaces:
- AgentManager, ServiceAgentManager
public class StandardServiceAgentManager
- extends StandardAgentManager
- implements ServiceAgentManager
- Version:
- $Rev: 200 $ $Date: 2006-08-09 14:17:10 +0200 (Wed, 09 Aug 2006) $
Method Summary |
protected TCPConnector |
createTCPConnector()
|
void |
doStart()
|
InetAddress |
getInetAddress()
|
boolean |
isTCPListening()
|
DAAdvert[] |
multicastDASrvRqst(Scopes scopes,
String filter,
String language,
long timeframe)
|
void |
multicastSrvDeRegNotification(ServiceInfo service,
ServiceAgentInfo serviceAgent)
|
void |
multicastSrvRegNotification(ServiceInfo service,
ServiceAgentInfo serviceAgent,
boolean freshRegistration)
|
void |
setInetAddress(InetAddress address)
|
void |
setTCPListening(boolean tcpListening)
|
SrvAck |
tcpSrvDeReg(InetAddress address,
ServiceInfo service,
ServiceAgentInfo serviceAgent)
|
SrvAck |
tcpSrvReg(InetAddress address,
ServiceInfo service,
ServiceAgentInfo serviceAgent,
boolean freshRegistration)
|
void |
tcpSrvRply(Socket socket,
ServiceAgentInfo serviceAgent,
Integer xid,
String language,
List serviceInfos)
|
void |
udpSAAdvert(InetSocketAddress address,
ServiceAgentInfo serviceAgent,
Integer xid,
String language)
|
void |
udpSrvRply(InetSocketAddress address,
ServiceAgentInfo serviceAgent,
Integer xid,
String language,
List serviceInfos)
|
Methods inherited from class org.livetribe.slp.spi.StandardAgentManager |
addMessageListener, closeNoExceptions, configureTCPConnector, configureUDPConnector, convergentDASrvRqst, convergentMulticastSend, convergentSASrvRqst, convergentSrvRqst, createUDPConnector, doStop, generateXID, getMaxTransmissionUnit, getMulticastAddress, getMulticastMaxWait, getMulticastTimeouts, getNotificationPort, getPort, getTCPConnector, getUDPConnector, isRunning, removeMessageListener, serializeMessage, setMaxTransmissionUnit, setMulticastAddress, setMulticastMaxWait, setMulticastTimeouts, setNotificationPort, setPort, setTCPConnector, setUDPConnector, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardServiceAgentManager
public StandardServiceAgentManager()
isTCPListening
public boolean isTCPListening()
- Specified by:
isTCPListening
in interface ServiceAgentManager
setTCPListening
public void setTCPListening(boolean tcpListening)
getInetAddress
public InetAddress getInetAddress()
setInetAddress
public void setInetAddress(InetAddress address)
doStart
public void doStart()
throws IOException
- Overrides:
doStart
in class StandardAgentManager
- Throws:
IOException
createTCPConnector
protected TCPConnector createTCPConnector()
throws IOException
- Overrides:
createTCPConnector
in class StandardAgentManager
- Throws:
IOException
multicastDASrvRqst
public DAAdvert[] multicastDASrvRqst(Scopes scopes,
String filter,
String language,
long timeframe)
throws IOException
- Specified by:
multicastDASrvRqst
in interface ServiceAgentManager
- Throws:
IOException
udpSAAdvert
public void udpSAAdvert(InetSocketAddress address,
ServiceAgentInfo serviceAgent,
Integer xid,
String language)
throws IOException
- Specified by:
udpSAAdvert
in interface ServiceAgentManager
- Throws:
IOException
tcpSrvReg
public SrvAck tcpSrvReg(InetAddress address,
ServiceInfo service,
ServiceAgentInfo serviceAgent,
boolean freshRegistration)
throws IOException
- Specified by:
tcpSrvReg
in interface ServiceAgentManager
- Throws:
IOException
tcpSrvDeReg
public SrvAck tcpSrvDeReg(InetAddress address,
ServiceInfo service,
ServiceAgentInfo serviceAgent)
throws IOException
- Specified by:
tcpSrvDeReg
in interface ServiceAgentManager
- Throws:
IOException
tcpSrvRply
public void tcpSrvRply(Socket socket,
ServiceAgentInfo serviceAgent,
Integer xid,
String language,
List serviceInfos)
throws IOException
- Specified by:
tcpSrvRply
in interface ServiceAgentManager
- Throws:
IOException
udpSrvRply
public void udpSrvRply(InetSocketAddress address,
ServiceAgentInfo serviceAgent,
Integer xid,
String language,
List serviceInfos)
throws IOException
- Specified by:
udpSrvRply
in interface ServiceAgentManager
- Throws:
IOException
multicastSrvRegNotification
public void multicastSrvRegNotification(ServiceInfo service,
ServiceAgentInfo serviceAgent,
boolean freshRegistration)
throws IOException
- Specified by:
multicastSrvRegNotification
in interface ServiceAgentManager
- Throws:
IOException
multicastSrvDeRegNotification
public void multicastSrvDeRegNotification(ServiceInfo service,
ServiceAgentInfo serviceAgent)
throws IOException
- Specified by:
multicastSrvDeRegNotification
in interface ServiceAgentManager
- Throws:
IOException
Copyright © 2006-2012 LiveTribe. All Rights Reserved.