org.livetribe.slp.api
Class MatchingServiceInfoCache
java.lang.Object
org.livetribe.slp.api.MatchingServiceInfoCache
- All Implemented Interfaces:
- EventListener, MessageRegistrationListener
public class MatchingServiceInfoCache
- extends Object
- implements MessageRegistrationListener
- Version:
- $Rev: 258 $ $Date: 2006-08-23 15:45:17 +0200 (Wed, 23 Aug 2006) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchingServiceInfoCache
public MatchingServiceInfoCache(ServiceType serviceType,
Scopes matchingScopes,
String matchingFilter,
String matchingLanguage)
throws ServiceLocationException
- Throws:
ServiceLocationException
addServiceRegistrationListener
public void addServiceRegistrationListener(ServiceRegistrationListener listener)
removeServiceRegistrationListener
public void removeServiceRegistrationListener(ServiceRegistrationListener listener)
put
public boolean put(ServiceInfo service)
putAll
public void putAll(Collection serviceInfos)
get
public ServiceInfo get(ServiceInfo.Key key)
getServiceInfos
public Collection getServiceInfos()
updateAdd
public boolean updateAdd(ServiceInfo service)
updateRemove
public boolean updateRemove(ServiceInfo service)
remove
public boolean remove(ServiceInfo.Key key)
clear
public void clear()
notifyServiceRegistered
protected void notifyServiceRegistered(ServiceInfo existing,
ServiceInfo current)
notifyServiceUpdated
protected void notifyServiceUpdated(ServiceInfo existing,
ServiceInfo current)
notifyServiceDeregistered
protected void notifyServiceDeregistered(ServiceInfo existing,
ServiceInfo current)
notifyServiceExpired
protected void notifyServiceExpired(ServiceInfo existing,
ServiceInfo current)
handleSrvReg
public void handleSrvReg(SrvReg srvReg)
- Specified by:
handleSrvReg
in interface MessageRegistrationListener
handleSrvDeReg
public void handleSrvDeReg(SrvDeReg srvDeReg)
- Specified by:
handleSrvDeReg
in interface MessageRegistrationListener
purge
public void purge()
Copyright © 2006-2012 LiveTribe. All Rights Reserved.