A B C D E F G H I L M N O P R S T U V W

A

accept(Runnable) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
accept(Runnable) - Method in class org.livetribe.slp.spi.net.UDPConnector
 
add(Message) - Method in class org.livetribe.slp.spi.Converger
 
add(DirectoryAgentInfo) - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfoCache
 
add(EventListener) - Method in class org.livetribe.util.ConcurrentListeners
 
addAll(List) - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfoCache
 
addExtension(Extension) - Method in class org.livetribe.slp.spi.msg.Message
 
addMessageListener(MessageListener, boolean) - Method in interface org.livetribe.slp.spi.AgentManager
 
addMessageListener(MessageListener) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
addMessageListener(MessageListener, boolean) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
addMessageRegistrationListener(MessageRegistrationListener) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
addMessageRegistrationListener(MessageRegistrationListener) - Method in interface org.livetribe.slp.api.ua.UserAgent
 
addNotificationListener(MessageListener) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
addNotificationListener(MessageListener) - Method in interface org.livetribe.slp.spi.ua.UserAgentManager
 
addServiceRegistrationListener(ServiceRegistrationListener) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
addURLEntry(URLEntry) - Method in class org.livetribe.slp.spi.msg.SrvRply
 
Agent - Interface in org.livetribe.slp.api
 
AgentManager - Interface in org.livetribe.slp.spi
 
AlwaysMatchFilter - Class in org.livetribe.slp.spi.filter
 
AlwaysMatchFilter() - Constructor for class org.livetribe.slp.spi.filter.AlwaysMatchFilter
 
AndFilter - Class in org.livetribe.slp.spi.filter
 
AndFilter(List) - Constructor for class org.livetribe.slp.spi.filter.AndFilter
 
asString() - Method in class org.livetribe.slp.Attributes
Returns a string representation of this Attributes object, that can be passed to Attributes.Attributes(String) to be parsed.
asStringArray() - Method in class org.livetribe.slp.Scopes
Returns the scope strings contained by this Scopes object.
ATTR_RPLY_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
ATTR_RQST_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
ATTRIBUTE_LIST_EXTENSION_ID - Static variable in class org.livetribe.slp.spi.msg.Extension
 
AttributeListExtension - Class in org.livetribe.slp.spi.msg
The RFC 3059 Attribute List Extension is the following:
AttributeListExtension() - Constructor for class org.livetribe.slp.spi.msg.AttributeListExtension
 
Attributes - Class in org.livetribe.slp
Attributes are key-value pairs that describe a service.
Attributes() - Constructor for class org.livetribe.slp.Attributes
Creates an empty Attributes object.
Attributes(String) - Constructor for class org.livetribe.slp.Attributes
Creates an Attributes object parsing the given attributeList string.
Attributes.Entry - Class in org.livetribe.slp
Represent the attribute value within the Attributes class.
attributesToBytes(Attributes) - Static method in class org.livetribe.slp.spi.msg.Message
 
AUTHENTICATION_ABSENT - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that an authentication was expected, but not received.
AUTHENTICATION_FAILED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the authentication failed.
AUTHENTICATION_UNKNOWN - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that an authentication has been requested, but the DirectoryAgent or ServiceAgent does not support it.
AuthenticationBlock - Class in org.livetribe.slp.spi.msg
 
AuthenticationBlock() - Constructor for class org.livetribe.slp.spi.msg.AuthenticationBlock
 
await(long) - Method in class org.livetribe.slp.spi.Converger
 

B

BUFFER_OVERFLOW - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that an outgoing request exceeded the max transmission unit.
BUSY_NOW - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the server is busy and that the client should retry.
BytesBlock - Class in org.livetribe.slp.spi.msg
 
BytesBlock() - Constructor for class org.livetribe.slp.spi.msg.BytesBlock
 
bytesToOpaque(byte[]) - Static method in class org.livetribe.slp.Attributes
Returns an opaque string containing the escaped sequence of the given bytes, including the initial opaque prefix \FF.

C

clear() - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
clear() - Method in class org.livetribe.slp.spi.ServiceInfoCache
 
clearMessageListeners() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
clone(ServiceType, ServiceURL, Scopes, Attributes, String) - Method in class org.livetribe.slp.ServiceInfo
Returns a new clone of this ServiceInfo with the given arguments.
close() - Method in class org.livetribe.slp.spi.Converger
 
closeNoExceptions(Socket) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
ConcurrentListeners - Class in org.livetribe.util
 
ConcurrentListeners() - Constructor for class org.livetribe.util.ConcurrentListeners
 
configureDirectoryAgentManager(DirectoryAgentManager) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
configureNotificationConnector(UDPConnector) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
configureServiceAgentManager(ServiceAgentManager) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
configureTCPConnector(TCPConnector) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
configureUDPConnector(UDPConnector) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
configureUserAgentManager(UserAgentManager) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
convergentDASrvRqst(SrvRqst, long) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
convergentMulticastSend(Rqst, long, Converger) - Method in class org.livetribe.slp.spi.StandardAgentManager
Implements the multicast convergence algorithm, with the extension of returning after the specified timeframe.
convergentSASrvRqst(SrvRqst, long) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
convergentSrvRqst(SrvRqst, long) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
Converger - Class in org.livetribe.slp.spi
 
Converger(UDPConnector) - Constructor for class org.livetribe.slp.spi.Converger
 
createAcceptorPool(int) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
createAcceptors() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
createAcceptors() - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
createAcceptors() - Method in class org.livetribe.slp.spi.net.SocketUDPConnector
 
createConnectionPool(int) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
createDirectoryAgentManager() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
createNotificationConnector() - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
createScheduledExecutorService() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Creates and returns the default ScheduledExecutorService, configured to use one daemon thread.
createScheduledExecutorService() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
Creates and returns the default ScheduledExecutorService, configured to use one daemon thread.
createScheduledExecutorService() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Creates and returns the default ScheduledExecutorService, configured to use one daemon thread.
createServiceAgentManager() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
createTCPConnector() - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
createTCPConnector() - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
createTCPConnector() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
createUDPConnector() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
createUserAgentManager() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 

D

DA_ADVERT_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
DA_ADVERTISEMENT_PERIOD - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for DirectoryAgents of the period to advertise their presence, 10800 seconds.
DA_SERVICE_EXPIRATION_PERIOD - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for DirectoryAgents of the period to check for expired services, 1 second.
DAAdvert - Class in org.livetribe.slp.spi.msg
The RFC 2608 DAAdvert message body is the following:
DAAdvert() - Constructor for class org.livetribe.slp.spi.msg.DAAdvert
 
DEFAULT - Static variable in class org.livetribe.slp.Scopes
The DEFAULT scope is just like any other scope, only that's used by DirectoryAgents and ServiceAgents as their default scope.
Defaults - Interface in org.livetribe.slp.spi
 
deregister(ServiceInfo) - Method in interface org.livetribe.slp.api.sa.ServiceAgent
 
deregister(ServiceInfo) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
deserialize(byte[], int) - Method in class org.livetribe.slp.spi.msg.AuthenticationBlock
 
deserialize(byte[]) - Static method in class org.livetribe.slp.spi.msg.Extension
Returns an Extension subclass object obtained deserializing the given bytes, or null if the bytes contain an extension that is not understood.
deserialize(byte[]) - Static method in class org.livetribe.slp.spi.msg.Message
Parses the header of SLP messages, then each message parses its body via Message.deserializeBody(byte[]).
deserialize(byte[], int) - Method in class org.livetribe.slp.spi.msg.URLEntry
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.Extension
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.Message
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.SrvAck
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.SrvRply
 
deserializeBody(byte[]) - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
deserializeExtensions(byte[], int) - Method in class org.livetribe.slp.spi.msg.Message
 
destroyAcceptors() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
destroyAcceptors() - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
destroyAcceptors() - Method in class org.livetribe.slp.spi.net.SocketUDPConnector
 
DirectoryAgent - Interface in org.livetribe.slp.api.da
 
DirectoryAgentInfo - Class in org.livetribe.slp.spi.da
A POJO that holds information about an SLP DirectoryAgent.
DirectoryAgentInfoCache - Class in org.livetribe.slp.spi.da
A thread-safe class that handles caching of DirectoryAgentInfo, and allows querying the content depending on parameters.
DirectoryAgentInfoCache() - Constructor for class org.livetribe.slp.spi.da.DirectoryAgentInfoCache
 
DirectoryAgentManager - Interface in org.livetribe.slp.spi.da
 
discoverDirectoryAgents(Scopes) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
discoverDirectoryAgents(Scopes, String) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
doStart() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
doStart() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
doStart() - Method in class org.livetribe.slp.api.StandardAgent
 
doStart() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
doStart() - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
doStart() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
doStart() - Method in class org.livetribe.slp.spi.net.UDPConnector
 
doStart() - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
doStart() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
doStart() - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
doStop() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
doStop() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
doStop() - Method in class org.livetribe.slp.api.StandardAgent
 
doStop() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
doStop() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
doStop() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
doStop() - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 

E

EMPTY_BYTES - Static variable in class org.livetribe.slp.spi.msg.BytesBlock
 
EMPTY_STRINGS - Static variable in class org.livetribe.slp.spi.msg.BytesBlock
 
equals(Object) - Method in class org.livetribe.slp.Attributes.Entry
 
equals(Object) - Method in class org.livetribe.slp.Attributes
 
equals(Object) - Method in class org.livetribe.slp.Scopes
 
equals(Object) - Method in class org.livetribe.slp.ServiceInfo.Key
 
equals(Object) - Method in class org.livetribe.slp.ServiceType
 
equals(Object) - Method in class org.livetribe.slp.ServiceURL
 
equals(Object) - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
equals(Object) - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
equals(Object) - Method in class org.livetribe.slp.spi.msg.URLEntry
 
escape(String) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 
ExpressionFilter - Class in org.livetribe.slp.spi.filter
 
ExpressionFilter(String, String, String) - Constructor for class org.livetribe.slp.spi.filter.ExpressionFilter
 
Extension - Class in org.livetribe.slp.spi.msg
 
Extension() - Constructor for class org.livetribe.slp.spi.msg.Extension
 

F

Filter - Interface in org.livetribe.slp.spi.filter
 
FilterParser - Class in org.livetribe.slp.spi.filter
A parser that parses a string with LDAPv3 syntax, and returns a Filter that is used to match Attributes content.
FilterParser() - Constructor for class org.livetribe.slp.spi.filter.FilterParser
 
findAll(Collection) - Static method in class org.livetribe.slp.spi.msg.AttributeListExtension
Returns all AttributeListExtensions found in the given collection of extensions, or an empty list if the extension collection does not contain AttributeListExtensions.
findAll(Collection) - Static method in class org.livetribe.slp.spi.msg.IdentifierExtension
Returns all IdentifierExtensions found in the given collection of extensions.
findDirectoryAgents(Scopes) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
findDirectoryAgents(Scopes, String) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
findFirst(Collection) - Static method in class org.livetribe.slp.spi.msg.AttributeListExtension
Returns the first AttributeListExtension found in the given collection of extensions, or null if the extension collection does not contain an AttributeListExtension.
findFirst(Collection) - Static method in class org.livetribe.slp.spi.msg.IdentifierExtension
Returns the first IdentifierExtension found in the given collection of extensions.
findServiceAgents(Scopes, String) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
findServices(ServiceType, Scopes, String, String) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Returns a list of ServiceInfo that are available on the network, and that match the given arguments.
findServices(ServiceType, Scopes, String, String) - Method in interface org.livetribe.slp.api.ua.UserAgent
 
format(LogRecord) - Method in class org.livetribe.util.logging.SimpleFormatter
 
from(SrvReg) - Static method in class org.livetribe.slp.ServiceInfo
Creates a ServiceInfo from a SrvReg message.
from(SrvDeReg) - Static method in class org.livetribe.slp.ServiceInfo
Creates a ServiceInfo from a SrvDeReg message.
from(DAAdvert) - Static method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
from(SAAdvert) - Static method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 

G

generateXID() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
get(ServiceInfo.Key) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
get(ServiceInfo.Key) - Method in class org.livetribe.slp.spi.ServiceInfoCache
Returns the service correspondent to the given ServiceInfo.Key.
getAbstractTypeName() - Method in class org.livetribe.slp.ServiceType
Returns the abstract type name of this service type.
getAdvertisementPeriod() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Returns the period of time, in seconds, between unsolicited DAAdverts.
getAttributes() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
getAttributes() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getAttributes() - Method in class org.livetribe.slp.ServiceInfo
Returns the Attributes of this ServiceInfo.
getAttributes() - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
getAttributes() - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
getAttributes() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getAttributes() - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
getAttributes() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
getAttributes() - Method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
getAuthenticationBlocks() - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
getAuthenticationBlocks() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getAuthenticationBlocks() - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
getAuthenticationBlocks() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
getAuthenticationBlocks() - Method in class org.livetribe.slp.spi.msg.URLEntry
 
getBootTime() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Returns the POSIX time of the boot of this DirectoryAgent, in milliseconds.
getBootTime() - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
getBootTime() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getByScopes(Scopes) - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfoCache
 
getCachedDirectoryAgents(Scopes) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getCachedDirectoryAgents(Scopes, String) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
getConcreteTypeName() - Method in class org.livetribe.slp.ServiceType
Returns the concrete type name of this service type.
getCurrentServiceInfo() - Method in class org.livetribe.slp.api.ServiceRegistrationEvent
 
getDatagramSocket() - Method in class org.livetribe.slp.spi.Converger
 
getDiscoveryInitialWaitBound() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getDiscoveryInitialWaitBound() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
getDiscoveryPeriod() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getDiscoveryPeriod() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Returns the period, in seconds, between discovery of DirectoryAgents
getEntry(String) - Method in class org.livetribe.slp.Attributes
Returns the Entry for the given tag.
getErrorCode() - Method in exception org.livetribe.slp.ServiceLocationException
Returns the error code that specifies the problem that caused this exception.
getErrorCode() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getErrorCode() - Method in class org.livetribe.slp.spi.msg.SrvAck
 
getErrorCode() - Method in class org.livetribe.slp.spi.msg.SrvRply
 
getExtensions() - Method in class org.livetribe.slp.spi.msg.Message
 
getFilter() - Method in class org.livetribe.slp.spi.msg.SrvRqst
An LDAPv3 filter to match service attributes
getHost() - Method in class org.livetribe.slp.ServiceURL
Returns the host portion of this service URL.
getHost() - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
getHost() - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
getHost() - Method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
getId() - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
getId() - Method in class org.livetribe.slp.spi.msg.Extension
Returns the extension id that identifies this extension.
getId() - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
getIdentifier() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getIdentifier() - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
getIdentifier() - Method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
getInetAddress() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
getInetAddress() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getInetAddress() - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
getInetAddress() - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
getInetAddresses() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
getKey() - Method in class org.livetribe.slp.ServiceInfo
Returns the key of this ServiceInfo.
getLanguage() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getLanguage() - Method in class org.livetribe.slp.ServiceInfo
Returns the language of this ServiceInfo.
getLanguage() - Method in class org.livetribe.slp.ServiceInfo.Key
Returns the language of this key.
getLanguage() - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
getLanguage() - Method in class org.livetribe.slp.spi.msg.Message
 
getLanguage() - Method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
getLifetime() - Method in class org.livetribe.slp.ServiceURL
Returns the lifetime, in seconds, of this service URL.
getLifetime() - Method in class org.livetribe.slp.spi.msg.URLEntry
 
getMaxTCPMessageLength() - Method in class org.livetribe.slp.spi.net.TCPConnector
 
getMaxTransmissionUnit() - Method in class org.livetribe.slp.spi.net.UDPConnector.Acceptor
 
getMaxTransmissionUnit() - Method in class org.livetribe.slp.spi.net.UDPConnector
 
getMaxTransmissionUnit() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getMessageBytes() - Method in class org.livetribe.slp.spi.net.MessageEvent
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.Message
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.SrvAck
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.SrvRply
 
getMessageType() - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
getMulticastAddress() - Method in class org.livetribe.slp.spi.net.UDPConnector.Acceptor
 
getMulticastAddress() - Method in class org.livetribe.slp.spi.net.UDPConnector
 
getMulticastAddress() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getMulticastMaxWait() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getMulticastTimeouts() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getMulticastTimeToLive() - Method in class org.livetribe.slp.spi.net.UDPConnector
 
getNamingAuthority() - Method in class org.livetribe.slp.ServiceType
Returns the naming authority of this service type.
getNotificationConnector() - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
getNotificationPort() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getPort() - Method in class org.livetribe.slp.api.StandardAgent
Returns the SLP port.
getPort() - Method in class org.livetribe.slp.ServiceURL
Returns the port number of this service URL.
getPort() - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
getPort() - Method in class org.livetribe.slp.spi.net.UDPConnector.Acceptor
 
getPort() - Method in class org.livetribe.slp.spi.net.UDPConnector
 
getPort() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getPreviousResponders() - Method in class org.livetribe.slp.spi.msg.Rqst
A comma separated list of IPv4 addresses of previous responders in case this message has been multicasted.
getPreviousServiceInfo() - Method in class org.livetribe.slp.api.ServiceRegistrationEvent
 
getPrincipleTypeName() - Method in class org.livetribe.slp.ServiceType
Returns the protocol type name of this service type.
getRegistrationTime() - Method in class org.livetribe.slp.ServiceInfo
Returns the registration time of this ServiceInfo, in milliseconds since the Unix epoch.
getResponder() - Method in class org.livetribe.slp.spi.msg.Rply
 
getScopes() - Method in class org.livetribe.slp.api.StandardAgent
 
getScopes() - Method in class org.livetribe.slp.ServiceInfo
Returns the Scopes of this ServiceInfo.
getScopes() - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
getScopes() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getScopes() - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
getScopes() - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
getScopes() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
getScopes() - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
getScopes() - Method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
getSecurityParameterIndex() - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
getSecurityParameterIndexes() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getServiceExpirationPeriod() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Returns the period, in seconds, between checks to remove expired services.
getServiceInfos() - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
getServiceInfos() - Method in class org.livetribe.slp.spi.ServiceInfoCache
 
getServices() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
getServices() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
getServiceType() - Method in class org.livetribe.slp.ServiceInfo
Returns the ServiceType as provided to the constructors; prefer ServiceInfo.resolveServiceType() to get the ServiceType of this ServiceInfo.
getServiceType() - Method in class org.livetribe.slp.ServiceURL
Returns the ServiceType of this service URL.
getServiceType() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
getServiceType() - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
getServiceURL() - Method in class org.livetribe.slp.ServiceInfo
Returns the ServiceURL of this ServiceInfo.
getServiceURL() - Method in class org.livetribe.slp.ServiceInfo.Key
Returns the ServiceURL of this key.
getSize() - Method in class org.livetribe.slp.spi.ServiceInfoCache
 
getSocketAddress() - Method in class org.livetribe.slp.spi.net.MessageEvent
 
getTags() - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
getTCPConnector() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getTCPReadTimeout() - Method in class org.livetribe.slp.spi.net.TCPConnector
 
getTransport() - Method in class org.livetribe.slp.ServiceURL
Returns the network layer transport identifier, which is the empty string for the IP transport.
getUDPConnector() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
getURL() - Method in class org.livetribe.slp.ServiceURL
Returns the string form of this service URL, that can be passed to ServiceURL.ServiceURL(String) to be parsed.
getURL() - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
getURL() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
getURL() - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
getURL() - Method in class org.livetribe.slp.spi.msg.URLEntry
 
getURLEntries() - Method in class org.livetribe.slp.spi.msg.SrvRply
 
getURLEntry() - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
getURLEntry() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
getURLPath() - Method in class org.livetribe.slp.ServiceURL
Returns the path of this service URL.
getValue() - Method in class org.livetribe.slp.Attributes.Entry
Returns the value of this entry (in case it is single valued), or the first value of this entry (in case it is multivalued).
getValue(String) - Method in class org.livetribe.slp.Attributes
Returns the value for the given tag.
getValues() - Method in class org.livetribe.slp.Attributes.Entry
Returns the values of this entry (in case it is multivalued), or the value of this entry, wrapped in an array of length 1 (in case it is single valued).
getValues(String) - Method in class org.livetribe.slp.Attributes
Returns the values for the given tag.
getXID() - Method in class org.livetribe.slp.spi.msg.Message
 

H

handle(MessageEvent) - Method in interface org.livetribe.slp.spi.net.MessageListener
 
handle(Runnable) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
handle(Runnable) - Method in class org.livetribe.slp.spi.net.UDPConnector.Acceptor
 
handleMulticastDAAdvert(DAAdvert, InetSocketAddress) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
handleMulticastDAAdvert(DAAdvert, InetSocketAddress) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
handleMulticastSrvDeReg(SrvDeReg) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
handleMulticastSrvReg(SrvReg) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
handleMulticastSrvRqst(SrvRqst, InetSocketAddress) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
handleMulticastSrvRqst(SrvRqst, InetSocketAddress) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
handleSrvDeReg(SrvDeReg) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
handleSrvDeReg(SrvDeReg) - Method in interface org.livetribe.slp.spi.MessageRegistrationListener
 
handleSrvReg(SrvReg) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
handleSrvReg(SrvReg) - Method in interface org.livetribe.slp.spi.MessageRegistrationListener
 
handleTCPSrvDeReg(SrvDeReg, Socket) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
handleTCPSrvReg(SrvReg, Socket) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
handleTCPSrvRqst(SrvRqst, Socket) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
handleTCPSrvRqst(SrvRqst, Socket) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
hasAttributes() - Method in class org.livetribe.slp.ServiceInfo
Returns whether this ServiceInfo has attributes or not.
hashCode() - Method in class org.livetribe.slp.Attributes.Entry
 
hashCode() - Method in class org.livetribe.slp.Attributes
 
hashCode() - Method in class org.livetribe.slp.Scopes
 
hashCode() - Method in class org.livetribe.slp.ServiceInfo.Key
 
hashCode() - Method in class org.livetribe.slp.ServiceType
 
hashCode() - Method in class org.livetribe.slp.ServiceURL
 
hashCode() - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
 
hashCode() - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
hashCode() - Method in class org.livetribe.slp.spi.msg.URLEntry
 

I

ID_BYTES_LENGTH - Static variable in class org.livetribe.slp.spi.msg.Extension
 
IDENTIFIER_EXTENSION_ID - Static variable in class org.livetribe.slp.spi.msg.Extension
 
IdentifierExtension - Class in org.livetribe.slp.spi.msg
 
IdentifierExtension() - Constructor for class org.livetribe.slp.spi.msg.IdentifierExtension
 
INTERNAL_ERROR - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the ServiceAgent or DirectoryAgent cannot respond.
INTERNAL_SYSTEM_ERROR - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that an internal, non-recoverable, error happened.
INVALID_REGISTRATION - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a service registration failed because of invalid arguments.
INVALID_UPDATE - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a service update failed because of invalid arguments.
isAbstractType() - Method in class org.livetribe.slp.ServiceType
Returns true if this service type is of the form [service:]abstract:concrete.
isBooleanType() - Method in class org.livetribe.slp.Attributes.Entry
Returns true if this entry is of type boolean.
isDefaultScope() - Method in class org.livetribe.slp.Scopes
Returns true if this Scopes object is the default scope, false otherwise.
isEmpty() - Method in class org.livetribe.slp.Attributes
Returns true if this Attributes object is empty.
isEmpty() - Method in class org.livetribe.slp.spi.Converger
 
isExpiredAsOf(long) - Method in class org.livetribe.slp.ServiceInfo
Returns true if the ServiceURL's lifetime is expired, since its registration, as of the specified time.
isFresh() - Method in class org.livetribe.slp.spi.msg.Message
 
isLongType() - Method in class org.livetribe.slp.Attributes.Entry
Returns true if this entry is of type long (a natural number).
isMulticast() - Method in class org.livetribe.slp.spi.msg.Message
 
isNADefault() - Method in class org.livetribe.slp.ServiceType
Returns true if this service type does not specify a naming authority.
isOpaqueType() - Method in class org.livetribe.slp.Attributes.Entry
Returns true if this entry is of type opaque.
isOverflow() - Method in class org.livetribe.slp.spi.msg.Message
 
isPeriodicAdvertisementEnabled() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Returns whether this DirectoryAgent sends periodically unsolicited DAAdverts to advertise its presence.
isPeriodicDirectoryAgentDiscoveryEnabled() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
isPeriodicDiscoveryEnabled() - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Returns whether this UserAgent should periodically discover DirectoryAgents
isPeriodicServiceExpirationEnabled() - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Returns whether this DirectoryAgent periodically checks for service expiration, to remove expired services.
isPeriodicServiceRenewalEnabled() - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
isPresenceType() - Method in class org.livetribe.slp.Attributes.Entry
Returns true if this entry represent only the presence of a tag with no value.
isRunning() - Method in interface org.livetribe.slp.api.Agent
 
isRunning() - Method in class org.livetribe.slp.api.StandardAgent
 
isRunning() - Method in interface org.livetribe.slp.spi.AgentManager
 
isRunning() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
isRunning() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
isServiceURL() - Method in class org.livetribe.slp.ServiceType
Returns true if this service type begins with the string service:.
isStringType() - Method in class org.livetribe.slp.Attributes.Entry
Returns true if this entry is of type string.
isTagPresent(String) - Method in class org.livetribe.slp.Attributes
Returns true if the given tag is present in this Attributes object.
isTCPListening() - Method in class org.livetribe.slp.spi.net.TCPConnector
 
isTCPListening() - Method in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
isTCPListening() - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
isTCPListening() - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
isWildcardScope() - Method in class org.livetribe.slp.Scopes
Returns true if this Scopes object is the wildcard scope, false otherwise.

L

LANGUAGE_NOT_SUPPORTED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that DirectoryAgents or ServiceAgents have information in other languages other than the one requested.
LIFETIME_DEFAULT - Static variable in class org.livetribe.slp.ServiceURL
The constant used to denote the default lifetime of service URLs (3 hours).
LIFETIME_MAXIMUM - Static variable in class org.livetribe.slp.ServiceURL
The constant used to denote the maximum value for the lifetime of service URLs.
LIFETIME_NONE - Static variable in class org.livetribe.slp.ServiceURL
The constant used to denote that this service URL has no lifetime.
LIFETIME_PERMANENT - Static variable in class org.livetribe.slp.ServiceURL
The constant used to denote that this service URL has an infinite lifetime.
lock() - Method in class org.livetribe.slp.spi.Converger
 
lock() - Method in class org.livetribe.slp.spi.ServiceInfoCache
 
logger - Variable in class org.livetribe.slp.api.StandardAgent
 
logger - Variable in class org.livetribe.slp.spi.net.NetworkConnector
 
logger - Variable in class org.livetribe.slp.spi.net.UDPConnector.Acceptor
 
logger - Variable in class org.livetribe.slp.spi.StandardAgentManager
 

M

match(Scopes) - Method in class org.livetribe.slp.Scopes
Matches the given Scopes argument against this Scopes object.
match(ServiceType, Scopes, Filter, String) - Method in class org.livetribe.slp.spi.ServiceInfoCache
 
matches(ServiceType) - Method in class org.livetribe.slp.ServiceType
Returns true if this service type matches the given service type, false otherwise.
matches(Attributes) - Method in class org.livetribe.slp.spi.filter.AlwaysMatchFilter
 
matches(Attributes) - Method in class org.livetribe.slp.spi.filter.AndFilter
 
matches(Attributes) - Method in class org.livetribe.slp.spi.filter.ExpressionFilter
 
matches(Attributes) - Method in interface org.livetribe.slp.spi.filter.Filter
Returns true if the given attributes matches the expression represented by this filter.
matches(Attributes) - Method in class org.livetribe.slp.spi.filter.NotFilter
 
matches(Attributes) - Method in class org.livetribe.slp.spi.filter.OrFilter
 
MatchingServiceInfoCache - Class in org.livetribe.slp.api
 
MatchingServiceInfoCache(ServiceType, Scopes, String, String) - Constructor for class org.livetribe.slp.api.MatchingServiceInfoCache
 
matchScopes(Scopes) - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfo
Returns true if at least one of the given scopes is also a scope of this DirectoryAgentInfo
MAX_TRANSMISSION_UNIT - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the MTU, 1400 bytes.
merge(Attributes) - Method in class org.livetribe.slp.Attributes
Merges the attributes of this Attributes object with the attributes of the given Attributes object into a new Attributes object.
merge(ServiceInfo) - Method in class org.livetribe.slp.ServiceInfo
Merges the attributes of this ServiceInfo with the attributes of the given ServiceInfo, provided the two ServiceInfos have the same key.
Message - Class in org.livetribe.slp.spi.msg
The RFC 2608 message header is the following:
Message() - Constructor for class org.livetribe.slp.spi.msg.Message
 
MESSAGE_NOT_SUPPORTED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the SLP implementation does not support a message.
MessageEvent - Class in org.livetribe.slp.spi.net
 
MessageEvent(Object, byte[], InetSocketAddress) - Constructor for class org.livetribe.slp.spi.net.MessageEvent
 
MessageListener - Interface in org.livetribe.slp.spi.net
 
MessageRegistrationListener - Interface in org.livetribe.slp.spi
 
MessageTooBigException - Exception in org.livetribe.slp.spi.net
Thrown when an SLP message length is bigger than some configurable parameter.
MessageTooBigException() - Constructor for exception org.livetribe.slp.spi.net.MessageTooBigException
 
MessageTooBigException(String) - Constructor for exception org.livetribe.slp.spi.net.MessageTooBigException
 
MessageTooBigException(Throwable) - Constructor for exception org.livetribe.slp.spi.net.MessageTooBigException
 
MessageTooBigException(String, Throwable) - Constructor for exception org.livetribe.slp.spi.net.MessageTooBigException
 
MULTICAST_ADDRESS - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the SLP multicast address, 239.255.255.253.
MULTICAST_MAX_WAIT - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the max multicast convergence wait, 15000 milliseconds.
MULTICAST_TIME_TO_LIVE - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the multicast TTL, 255.
MULTICAST_TIMEOUTS - Static variable in interface org.livetribe.slp.spi.Defaults
Default values for the timeouts of the multicast convergence algorithm (in milliseconds).
multicastDAAdvert(long, Scopes, Attributes, Integer, String) - Method in interface org.livetribe.slp.spi.da.DirectoryAgentManager
 
multicastDAAdvert(long, Scopes, Attributes, Integer, String) - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
multicastDASrvRqst(Scopes, String, String, long) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
multicastDASrvRqst(Scopes, String, String, long) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
multicastDASrvRqst(Scopes, String, String, long) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
multicastDASrvRqst(Scopes, String, String, long) - Method in interface org.livetribe.slp.spi.ua.UserAgentManager
 
multicastSASrvRqst(Scopes, String, String, int) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
multicastSASrvRqst(Scopes, String, String, int) - Method in interface org.livetribe.slp.spi.ua.UserAgentManager
 
multicastSend(DatagramSocket, InetSocketAddress, byte[]) - Method in class org.livetribe.slp.spi.net.SocketUDPConnector
 
multicastSend(DatagramSocket, InetSocketAddress, byte[]) - Method in class org.livetribe.slp.spi.net.UDPConnector
Sends the given bytes to the specified multicast address.
multicastSrvDeRegNotification(ServiceInfo, ServiceAgentInfo) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
multicastSrvDeRegNotification(ServiceInfo, ServiceAgentInfo) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
multicastSrvRegNotification(ServiceInfo, ServiceAgentInfo, boolean) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
multicastSrvRegNotification(ServiceInfo, ServiceAgentInfo, boolean) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
multicastSrvRqst(ServiceType, Scopes, String, String, int) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
multicastSrvRqst(ServiceType, Scopes, String, String, int) - Method in interface org.livetribe.slp.spi.ua.UserAgentManager
 

N

NETWORK_ERROR - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a generic network failure happened.
NETWORK_INIT_FAILED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the network initialization failed.
NETWORK_TIMED_OUT - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a unicast request timed out.
NetworkConnector - Class in org.livetribe.slp.spi.net
 
NetworkConnector() - Constructor for class org.livetribe.slp.spi.net.NetworkConnector
 
NEXT_EXTENSION_OFFSET_BYTES_LENGTH - Static variable in class org.livetribe.slp.spi.msg.Extension
 
NO_PORT - Static variable in class org.livetribe.slp.ServiceURL
The constant used to denote that the service did not specify a port.
NOT_IMPLEMENTED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the API exists, but it's not implemented.
NotFilter - Class in org.livetribe.slp.spi.filter
 
NotFilter(Filter) - Constructor for class org.livetribe.slp.spi.filter.NotFilter
 
NOTIFICATION_PORT - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the SLP notification port, 1847.
notify(String, Object) - Method in class org.livetribe.util.ConcurrentListeners
 
notifyMessageListeners(MessageEvent) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
notifyServiceDeregistered(ServiceInfo, ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
notifyServiceExpired(ServiceInfo, ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
notifyServiceRegistered(ServiceInfo, ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
notifyServiceUpdated(ServiceInfo, ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 

O

opaqueToBytes(String) - Static method in class org.livetribe.slp.Attributes
Returns a byte array containing the bytes parsed from the given opaque string, except the initial opaque prefix \FF.
OPTION_NOT_UNDERSTOOD - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a mandatory extension is not understood by the implementation.
OrFilter - Class in org.livetribe.slp.spi.filter
 
OrFilter(List) - Constructor for class org.livetribe.slp.spi.filter.OrFilter
 
org.livetribe.slp - package org.livetribe.slp
 
org.livetribe.slp.api - package org.livetribe.slp.api
 
org.livetribe.slp.api.da - package org.livetribe.slp.api.da
 
org.livetribe.slp.api.sa - package org.livetribe.slp.api.sa
 
org.livetribe.slp.api.ua - package org.livetribe.slp.api.ua
 
org.livetribe.slp.spi - package org.livetribe.slp.spi
 
org.livetribe.slp.spi.da - package org.livetribe.slp.spi.da
 
org.livetribe.slp.spi.filter - package org.livetribe.slp.spi.filter
 
org.livetribe.slp.spi.msg - package org.livetribe.slp.spi.msg
 
org.livetribe.slp.spi.net - package org.livetribe.slp.spi.net
 
org.livetribe.slp.spi.sa - package org.livetribe.slp.spi.sa
 
org.livetribe.slp.spi.ua - package org.livetribe.slp.spi.ua
 
org.livetribe.util - package org.livetribe.util
 
org.livetribe.util.logging - package org.livetribe.util.logging
 

P

parse(String) - Method in class org.livetribe.slp.spi.filter.FilterParser
 
PARSE_ERROR - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a parse error has occurred while parsing attributes string, filter expressions or SLP messages.
pop() - Method in class org.livetribe.slp.spi.Converger
 
PORT - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the SLP port, 427.
purge() - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
purge() - Method in class org.livetribe.slp.spi.ServiceInfoCache
Purges from this cache entries whose registration time plus their lifetime is less than the current time; that is, entries that should have been renewed but for some reason they have not been.
put(ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
put(String) - Method in class org.livetribe.slp.Attributes
Puts a presence tag.
put(String, String) - Method in class org.livetribe.slp.Attributes
Puts a tag with the specified value.
put(String, String[]) - Method in class org.livetribe.slp.Attributes
Puts a tag with the specified values
put(ServiceInfo) - Method in class org.livetribe.slp.spi.ServiceInfoCache
Adds the given service to this cache replacing an eventually existing entry.
putAll(Collection) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 

R

readInt(byte[], int, int) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
Reads an integer from bytes in network byte order.
readString(byte[], int, int) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 
readStringArray(byte[], int, int) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 
receive(Socket) - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
receive(Socket) - Method in class org.livetribe.slp.spi.net.TCPConnector
Reads bytes containing an SLP message.
REFRESH_REJECTED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that a ServiceAgent sent re-registrations to a DirectoryAgent more frequently than allowed.
register(ServiceInfo) - Method in interface org.livetribe.slp.api.sa.ServiceAgent
Registers the given service with directory agents.
register(ServiceInfo) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
remove(ServiceInfo.Key) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
remove(DirectoryAgentInfo) - Method in class org.livetribe.slp.spi.da.DirectoryAgentInfoCache
 
remove(ServiceInfo.Key) - Method in class org.livetribe.slp.spi.ServiceInfoCache
Removes an existing entry with the given ServiceInfo.Key; if the entry does not exist, does nothing.
remove(EventListener) - Method in class org.livetribe.util.ConcurrentListeners
 
removeAttributes(Attributes) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
removeMessageListener(MessageListener, boolean) - Method in interface org.livetribe.slp.spi.AgentManager
 
removeMessageListener(MessageListener) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
removeMessageListener(MessageListener, boolean) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
removeMessageRegistrationListener(MessageRegistrationListener) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
removeMessageRegistrationListener(MessageRegistrationListener) - Method in interface org.livetribe.slp.api.ua.UserAgent
 
removeNotificationListener(MessageListener) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
removeNotificationListener(MessageListener) - Method in interface org.livetribe.slp.spi.ua.UserAgentManager
 
removeServiceRegistrationListener(ServiceRegistrationListener) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
reply(Socket, byte[]) - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
reply(Socket, byte[]) - Method in class org.livetribe.slp.spi.net.TCPConnector
Sends the bytes containing an SLP message in reply to a previos request, via the given socket.
resolveServiceType() - Method in class org.livetribe.slp.ServiceInfo
Returns the ServiceType as provided to the constructor; if this value is null, returns the ServiceType of the ServiceURL of this ServiceInfo.
Rply - Class in org.livetribe.slp.spi.msg
 
Rply() - Constructor for class org.livetribe.slp.spi.msg.Rply
 
Rqst - Class in org.livetribe.slp.spi.msg
 
Rqst() - Constructor for class org.livetribe.slp.spi.msg.Rqst
 
run() - Method in class org.livetribe.slp.spi.Converger
 

S

SA_ADVERT_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SA_DISCOVERY_INITIAL_WAIT_BOUND - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for UserAgent of the maximum time to wait before start discovery of DirectoryAgents, 3 seconds.
SA_DISCOVERY_PERIOD - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for UserAgents of the period to discover DirectoryAgents, 900 seconds.
SAAdvert - Class in org.livetribe.slp.spi.msg
The RFC 2608 DAAdvert message body is the following:
SAAdvert() - Constructor for class org.livetribe.slp.spi.msg.SAAdvert
 
SCOPE_NOT_SUPPORTED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the DirectoryAgent or ServiceAgent does not support the scope of the requested operation.
Scopes - Class in org.livetribe.slp
Scopes are case insensitive string labels used to group together related services.
Scopes(String[]) - Constructor for class org.livetribe.slp.Scopes
Creates a Scopes object containing the given scope strings.
scopesToBytes(Scopes) - Static method in class org.livetribe.slp.spi.msg.Message
 
send(UDPConnector, byte[]) - Method in class org.livetribe.slp.spi.Converger
 
send(byte[], InetAddress, boolean) - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
send(byte[], InetAddress, boolean) - Method in class org.livetribe.slp.spi.net.TCPConnector
Sends the bytes containing an SLP message.
serialize() - Method in class org.livetribe.slp.spi.msg.AuthenticationBlock
 
serialize() - Method in class org.livetribe.slp.spi.msg.Extension
 
serialize() - Method in class org.livetribe.slp.spi.msg.Message
 
serialize() - Method in class org.livetribe.slp.spi.msg.URLEntry
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.Extension
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.Message
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.SrvAck
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.SrvReg
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.SrvRply
 
serializeBody() - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
serializeExtensions(int) - Method in class org.livetribe.slp.spi.msg.Message
 
serializeMessage(Message) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
ServiceAgent - Interface in org.livetribe.slp.api.sa
 
ServiceAgentInfo - Class in org.livetribe.slp.spi.sa
 
ServiceAgentInfo(String, String, Scopes, Attributes, String) - Constructor for class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
ServiceAgentManager - Interface in org.livetribe.slp.spi.sa
 
serviceDeregistered(ServiceRegistrationEvent) - Method in interface org.livetribe.slp.api.ServiceRegistrationListener
 
serviceExpired(ServiceRegistrationEvent) - Method in interface org.livetribe.slp.api.ServiceRegistrationListener
 
ServiceInfo - Class in org.livetribe.slp
This class represents a service, exposed by ServiceAgents and cached by DirectoryAgents.
ServiceInfo(ServiceURL, Scopes, Attributes, String) - Constructor for class org.livetribe.slp.ServiceInfo
Creates a ServiceInfo from a the given arguments.
ServiceInfo(ServiceType, ServiceURL, Scopes, Attributes, String) - Constructor for class org.livetribe.slp.ServiceInfo
Creates a ServiceInfo from the given arguments; the ServiceInfo.ServiceInfo(ServiceURL, Scopes, Attributes, String) constructor should be preferred to this one, as it does not introduce ambiguity between the ServiceType argument and the ServiceType of the ServiceURL argument.
ServiceInfo.Key - Class in org.livetribe.slp
Services in SLP are identified by their ServiceURL and their language.
ServiceInfo.Key(ServiceURL, String) - Constructor for class org.livetribe.slp.ServiceInfo.Key
Creates a new Key object.
ServiceInfoCache - Class in org.livetribe.slp.spi
A cache for ServiceInfos, that provides facilities to store, update, remove and query.
ServiceInfoCache() - Constructor for class org.livetribe.slp.spi.ServiceInfoCache
 
ServiceLocationException - Exception in org.livetribe.slp
Thrown when something goes wrong in Service Location Protocol operations.
ServiceLocationException(int) - Constructor for exception org.livetribe.slp.ServiceLocationException
 
ServiceLocationException(String, int) - Constructor for exception org.livetribe.slp.ServiceLocationException
 
ServiceLocationException(Throwable, int) - Constructor for exception org.livetribe.slp.ServiceLocationException
 
ServiceLocationException(String, Throwable, int) - Constructor for exception org.livetribe.slp.ServiceLocationException
 
serviceRegistered(ServiceRegistrationEvent) - Method in interface org.livetribe.slp.api.ServiceRegistrationListener
 
ServiceRegistrationEvent - Class in org.livetribe.slp.api
 
ServiceRegistrationEvent(Object, ServiceInfo, ServiceInfo) - Constructor for class org.livetribe.slp.api.ServiceRegistrationEvent
 
ServiceRegistrationListener - Interface in org.livetribe.slp.api
 
ServiceType - Class in org.livetribe.slp
Services that offer the same functionalities are characterized by the same ServiceType.
ServiceType(String) - Constructor for class org.livetribe.slp.ServiceType
Creates a ServiceType parsing the given string.
serviceTypeToBytes(ServiceType) - Static method in class org.livetribe.slp.spi.msg.Message
 
serviceUpdated(ServiceRegistrationEvent) - Method in interface org.livetribe.slp.api.ServiceRegistrationListener
 
ServiceURL - Class in org.livetribe.slp
A ServiceURL represents the location of a service.
ServiceURL(String) - Constructor for class org.livetribe.slp.ServiceURL
Creates a ServiceURL parsing the given string, with a default lifetime.
ServiceURL(String, int) - Constructor for class org.livetribe.slp.ServiceURL
Creates a ServiceURL parsing the given string, with the specified lifetime, in seconds.
setAcceptorPool(ExecutorService) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
setAdvertisementPeriod(int) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Sets the period of time, in seconds, between unsolicited DAAdverts.
setAttributes(Attributes) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
setAttributes(Attributes) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setAttributes(Attributes) - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
setAttributes(Attributes) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setAttributes(Attributes) - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
setAttributes(Attributes) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
setAuthenticationBlocks(AuthenticationBlock[]) - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
setAuthenticationBlocks(AuthenticationBlock[]) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setAuthenticationBlocks(AuthenticationBlock[]) - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
setAuthenticationBlocks(AuthenticationBlock[]) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
setAuthenticationBlocks(AuthenticationBlock[]) - Method in class org.livetribe.slp.spi.msg.URLEntry
 
setBootTime(long) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setConnectionPool(ThreadPoolExecutor) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
setDirectoryAgentManager(DirectoryAgentManager) - Method in interface org.livetribe.slp.api.da.DirectoryAgent
 
setDirectoryAgentManager(DirectoryAgentManager) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
setDiscoveryInitialWaitBound(int) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
Sets the bound (in seconds) to the initial random delay this ServiceAgent waits before attempting to discover DirectoryAgents
setDiscoveryInitialWaitBound(int) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Sets the bound (in seconds) to the initial random delay this UserAgent waits before attempting to discover DirectoryAgents
setDiscoveryPeriod(long) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setDiscoveryPeriod(long) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Sets the period, in seconds, between discovery of DirectoryAgents
setErrorCode(int) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setErrorCode(int) - Method in class org.livetribe.slp.spi.msg.SrvAck
 
setErrorCode(int) - Method in class org.livetribe.slp.spi.msg.SrvRply
 
setFilter(String) - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
setFresh(boolean) - Method in class org.livetribe.slp.spi.msg.Message
 
setHost(String) - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
setIdentifier(String) - Method in class org.livetribe.slp.spi.msg.IdentifierExtension
 
setInetAddress(InetAddress) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
 
setInetAddress(InetAddress) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setInetAddress(InetAddress) - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
setInetAddress(InetAddress) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
setInetAddresses(InetAddress[]) - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
setLanguage(String) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setLanguage(String) - Method in class org.livetribe.slp.spi.msg.Message
 
setLifetime(int) - Method in class org.livetribe.slp.spi.msg.URLEntry
 
setMaxTCPMessageLength(int) - Method in class org.livetribe.slp.spi.net.TCPConnector
 
setMaxTransmissionUnit(int) - Method in class org.livetribe.slp.spi.net.UDPConnector
 
setMaxTransmissionUnit(int) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setMulticast(boolean) - Method in class org.livetribe.slp.spi.msg.Message
 
setMulticastAddress(InetAddress) - Method in class org.livetribe.slp.spi.net.UDPConnector
 
setMulticastAddress(InetAddress) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setMulticastMaxWait(long) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setMulticastTimeouts(long[]) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setMulticastTimeToLive(int) - Method in class org.livetribe.slp.spi.net.UDPConnector
 
setNotificationConnector(UDPConnector) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
setNotificationPort(int) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setOverflow(boolean) - Method in class org.livetribe.slp.spi.msg.Message
 
setPeriodicAdvertisementEnabled(boolean) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Sets whether this DirectoryAgent sends periodically unsolicited DAAdverts to advertise its presence.
setPeriodicDirectoryAgentDiscoveryEnabled(boolean) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setPeriodicDiscoveryEnabled(boolean) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Sets whether this UserAgent should periodically discover DirectoryAgents
setPeriodicServiceExpirationEnabled(boolean) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Sets whether this DirectoryAgent periodically checks for service expiration, to remove expired services.
setPeriodicServiceRenewalEnabled(boolean) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setPort(int) - Method in class org.livetribe.slp.api.StandardAgent
Sets the SLP port.
setPort(int) - Method in class org.livetribe.slp.spi.net.SocketTCPConnector
 
setPort(int) - Method in class org.livetribe.slp.spi.net.UDPConnector
 
setPort(int) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setPreviousResponders(Set) - Method in class org.livetribe.slp.spi.msg.Rqst
 
setRegistrationTime(long) - Method in class org.livetribe.slp.ServiceInfo
Set the registration time of this ServiceInfo, in milliseconds since the Unix epoch.
setResponder(String) - Method in class org.livetribe.slp.spi.msg.Rply
 
setScheduledExecutorService(ScheduledExecutorService) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Sets the ScheduledExecutorService used to perform periodic tasks such as sending unsolicited DAAdverts or to check if services' lifetime are expired.
setScheduledExecutorService(ScheduledExecutorService) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
Sets the ScheduledExecutorService used to perform periodic tasks such as discovery of DirectoryAgents.
setScheduledExecutorService(ScheduledExecutorService) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
Sets the ScheduledExecutorService used to perform periodic tasks such as discovery of DirectoryAgents.
setScopes(Scopes) - Method in interface org.livetribe.slp.api.Agent
 
setScopes(Scopes) - Method in class org.livetribe.slp.api.StandardAgent
 
setScopes(Scopes) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setScopes(Scopes) - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
setScopes(Scopes) - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
setScopes(Scopes) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
setScopes(Scopes) - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
setSecurityParameterIndex(String) - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
setSecurityParamIndexes(String[]) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setServiceAgentManager(ServiceAgentManager) - Method in interface org.livetribe.slp.api.sa.ServiceAgent
 
setServiceAgentManager(ServiceAgentManager) - Method in class org.livetribe.slp.api.sa.StandardServiceAgent
 
setServiceExpirationPeriod(int) - Method in class org.livetribe.slp.api.da.StandardDirectoryAgent
Sets the period, in seconds, between checks to remove expired services
setServiceType(ServiceType) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
setServiceType(ServiceType) - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
setTags(Attributes) - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
setTCPConnector(TCPConnector) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setTCPListening(boolean) - Method in class org.livetribe.slp.spi.net.TCPConnector
 
setTCPListening(boolean) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
setTCPReadTimeout(int) - Method in class org.livetribe.slp.spi.net.TCPConnector
 
setUDPConnector(UDPConnector) - Method in class org.livetribe.slp.spi.StandardAgentManager
 
setURL(String) - Method in class org.livetribe.slp.spi.msg.AttributeListExtension
 
setURL(String) - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
setURL(String) - Method in class org.livetribe.slp.spi.msg.SAAdvert
 
setURL(String) - Method in class org.livetribe.slp.spi.msg.URLEntry
 
setURLEntry(URLEntry) - Method in class org.livetribe.slp.spi.msg.SrvDeReg
 
setURLEntry(URLEntry) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
setUserAgentManager(UserAgentManager) - Method in class org.livetribe.slp.api.ua.StandardUserAgent
 
setUserAgentManager(UserAgentManager) - Method in interface org.livetribe.slp.api.ua.UserAgent
 
setXID(int) - Method in class org.livetribe.slp.spi.msg.Message
 
signalAll() - Method in class org.livetribe.slp.spi.Converger
 
SimpleFormatter - Class in org.livetribe.util.logging
 
SimpleFormatter() - Constructor for class org.livetribe.util.logging.SimpleFormatter
 
SocketClosedException - Exception in org.livetribe.slp.spi.net
Thrown when reading an SLP message from an InputStream and the client closes the socket before all message bytes has been sent (the length is in the header of SLP messages).
SocketClosedException() - Constructor for exception org.livetribe.slp.spi.net.SocketClosedException
 
SocketClosedException(String) - Constructor for exception org.livetribe.slp.spi.net.SocketClosedException
 
SocketClosedException(Throwable) - Constructor for exception org.livetribe.slp.spi.net.SocketClosedException
 
SocketClosedException(String, Throwable) - Constructor for exception org.livetribe.slp.spi.net.SocketClosedException
 
SocketTCPConnector - Class in org.livetribe.slp.spi.net
 
SocketTCPConnector() - Constructor for class org.livetribe.slp.spi.net.SocketTCPConnector
 
SocketUDPConnector - Class in org.livetribe.slp.spi.net
 
SocketUDPConnector() - Constructor for class org.livetribe.slp.spi.net.SocketUDPConnector
 
SRV_ACK_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SRV_DEREG_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SRV_REG_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SRV_RPLY_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SRV_RQST_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SRV_TYPE_RPLY_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SRV_TYPE_RQST_TYPE - Static variable in class org.livetribe.slp.spi.msg.Message
 
SrvAck - Class in org.livetribe.slp.spi.msg
The RFC 2608 SrvAck message body is the following:
SrvAck() - Constructor for class org.livetribe.slp.spi.msg.SrvAck
 
SrvDeReg - Class in org.livetribe.slp.spi.msg
The RFC 2608 SrvDeReg message body is the following:
SrvDeReg() - Constructor for class org.livetribe.slp.spi.msg.SrvDeReg
 
SrvReg - Class in org.livetribe.slp.spi.msg
The RFC 2608 SrvReg message body is the following:
SrvReg() - Constructor for class org.livetribe.slp.spi.msg.SrvReg
 
SrvRply - Class in org.livetribe.slp.spi.msg
The RFC 2608 SrvRply message body is the following:
SrvRply() - Constructor for class org.livetribe.slp.spi.msg.SrvRply
 
SrvRqst - Class in org.livetribe.slp.spi.msg
The RFC 2608 SrvRqst message body is the following:
SrvRqst() - Constructor for class org.livetribe.slp.spi.msg.SrvRqst
 
StandardAgent - Class in org.livetribe.slp.api
 
StandardAgent() - Constructor for class org.livetribe.slp.api.StandardAgent
 
StandardAgentManager - Class in org.livetribe.slp.spi
 
StandardAgentManager() - Constructor for class org.livetribe.slp.spi.StandardAgentManager
 
StandardDirectoryAgent - Class in org.livetribe.slp.api.da
Implementation of an SLP DirectoryAgent.
StandardDirectoryAgent() - Constructor for class org.livetribe.slp.api.da.StandardDirectoryAgent
 
StandardDirectoryAgentManager - Class in org.livetribe.slp.spi.da
 
StandardDirectoryAgentManager() - Constructor for class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
StandardServiceAgent - Class in org.livetribe.slp.api.sa
 
StandardServiceAgent() - Constructor for class org.livetribe.slp.api.sa.StandardServiceAgent
 
StandardServiceAgentManager - Class in org.livetribe.slp.spi.sa
 
StandardServiceAgentManager() - Constructor for class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
StandardUserAgent - Class in org.livetribe.slp.api.ua
 
StandardUserAgent() - Constructor for class org.livetribe.slp.api.ua.StandardUserAgent
 
StandardUserAgentManager - Class in org.livetribe.slp.spi.ua
TODO: rework javadocs: they refer to StandardUserAgent, more than this class.
StandardUserAgentManager() - Constructor for class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
start() - Method in interface org.livetribe.slp.api.Agent
 
start() - Method in class org.livetribe.slp.api.StandardAgent
 
start() - Method in interface org.livetribe.slp.spi.AgentManager
 
start() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
start() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
stop() - Method in interface org.livetribe.slp.api.Agent
 
stop() - Method in class org.livetribe.slp.api.StandardAgent
 
stop() - Method in interface org.livetribe.slp.spi.AgentManager
 
stop() - Method in class org.livetribe.slp.spi.net.NetworkConnector
 
stop() - Method in class org.livetribe.slp.spi.StandardAgentManager
 
stringToUTF8Bytes(String) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 

T

TCP_LISTENING - Static variable in class org.livetribe.slp.spi.sa.ServiceAgentInfo
 
TCP_MAX_MESSAGE_LENGTH - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the TCP max message length, 8192 bytes.
TCP_READ_TIMEOUT - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for the TCP read timeout, 2000 milliseconds.
TCPConnector - Class in org.livetribe.slp.spi.net
 
TCPConnector() - Constructor for class org.livetribe.slp.spi.net.TCPConnector
 
tcpSrvAck(Socket, Integer, String, int) - Method in interface org.livetribe.slp.spi.da.DirectoryAgentManager
 
tcpSrvAck(Socket, Integer, String, int) - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
tcpSrvDeReg(InetAddress, ServiceInfo, ServiceAgentInfo) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
tcpSrvDeReg(InetAddress, ServiceInfo, ServiceAgentInfo) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
tcpSrvReg(InetAddress, ServiceInfo, ServiceAgentInfo, boolean) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
tcpSrvReg(InetAddress, ServiceInfo, ServiceAgentInfo, boolean) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
tcpSrvRply(Socket, Integer, String, List) - Method in interface org.livetribe.slp.spi.da.DirectoryAgentManager
 
tcpSrvRply(Socket, Integer, String, List) - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
tcpSrvRply(Socket, ServiceAgentInfo, Integer, String, List) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
tcpSrvRply(Socket, ServiceAgentInfo, Integer, String, List) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
tcpSrvRqst(InetAddress, ServiceType, Scopes, String, String) - Method in class org.livetribe.slp.spi.ua.StandardUserAgentManager
 
tcpSrvRqst(InetAddress, ServiceType, Scopes, String, String) - Method in interface org.livetribe.slp.spi.ua.UserAgentManager
 
toServiceURL() - Method in class org.livetribe.slp.spi.msg.URLEntry
 
toString() - Method in class org.livetribe.slp.Attributes
 
toString() - Method in class org.livetribe.slp.Scopes
 
toString() - Method in exception org.livetribe.slp.ServiceLocationException
 
toString() - Method in class org.livetribe.slp.ServiceType
Returns the string form of this service type, that can be passed to ServiceType.ServiceType(String) to be parsed.
toString() - Method in class org.livetribe.slp.ServiceURL
 
toString() - Method in class org.livetribe.slp.spi.msg.DAAdvert
 
toString() - Method in class org.livetribe.slp.spi.msg.SrvRqst
 
TYPE_ERROR - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that attributes specified during registration do no match those present in the service template.

U

UA_DISCOVERY_INITIAL_WAIT_BOUND - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for UserAgent of the maximum time to wait before start discovery of DirectoryAgents, 3 seconds.
UA_DISCOVERY_PERIOD - Static variable in interface org.livetribe.slp.spi.Defaults
Default value for UserAgents of the period to discover DirectoryAgents, 900 seconds.
UDPConnector - Class in org.livetribe.slp.spi.net
 
UDPConnector() - Constructor for class org.livetribe.slp.spi.net.UDPConnector
 
UDPConnector.Acceptor - Class in org.livetribe.slp.spi.net
 
UDPConnector.Acceptor(UDPConnector) - Constructor for class org.livetribe.slp.spi.net.UDPConnector.Acceptor
 
udpDAAdvert(InetSocketAddress, long, Scopes, Attributes, Integer, String) - Method in interface org.livetribe.slp.spi.da.DirectoryAgentManager
 
udpDAAdvert(InetSocketAddress, long, Scopes, Attributes, Integer, String) - Method in class org.livetribe.slp.spi.da.StandardDirectoryAgentManager
 
udpSAAdvert(InetSocketAddress, ServiceAgentInfo, Integer, String) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
udpSAAdvert(InetSocketAddress, ServiceAgentInfo, Integer, String) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
udpSrvRply(InetSocketAddress, ServiceAgentInfo, Integer, String, List) - Method in interface org.livetribe.slp.spi.sa.ServiceAgentManager
 
udpSrvRply(InetSocketAddress, ServiceAgentInfo, Integer, String, List) - Method in class org.livetribe.slp.spi.sa.StandardServiceAgentManager
 
unescape(String) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 
unicastSend(DatagramSocket, InetSocketAddress, byte[]) - Method in class org.livetribe.slp.spi.net.SocketUDPConnector
 
unicastSend(DatagramSocket, InetSocketAddress, byte[]) - Method in class org.livetribe.slp.spi.net.UDPConnector
Sends the given bytes to the given address.
unlock() - Method in class org.livetribe.slp.spi.Converger
 
unlock() - Method in class org.livetribe.slp.spi.ServiceInfoCache
 
unmerge(Attributes) - Method in class org.livetribe.slp.Attributes
Unmerges the attributes of this Attributes object with the attributes of the given Attributes object into a new Attributes object.
unmerge(ServiceInfo) - Method in class org.livetribe.slp.ServiceInfo
Unmerges the attributes of this ServiceInfo with the attributes of the given ServiceInfo, provided the two ServiceInfos have the same key.
updateAdd(ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
updateAdd(ServiceInfo) - Method in class org.livetribe.slp.spi.ServiceInfoCache
Updates an existing entry with the given service, adding information contained in the given service; if the entry does not exist, does nothing.
updateAttributes(Attributes) - Method in class org.livetribe.slp.spi.msg.SrvReg
 
updateRemove(ServiceInfo) - Method in class org.livetribe.slp.api.MatchingServiceInfoCache
 
updateRemove(ServiceInfo) - Method in class org.livetribe.slp.spi.ServiceInfoCache
Updates an existing entry with the given service, removing information contained in the given service; if the entry does not exist, does nothing.
URLEntry - Class in org.livetribe.slp.spi.msg
The RFC 2608 <URL Entry> is defined as:
URLEntry() - Constructor for class org.livetribe.slp.spi.msg.URLEntry
 
UserAgent - Interface in org.livetribe.slp.api.ua
 
UserAgentManager - Interface in org.livetribe.slp.spi.ua
 
utf8BytesToString(byte[], int, int) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 

V

VERSION_NOT_SUPPORTED - Static variable in exception org.livetribe.slp.ServiceLocationException
Error code indicating that the SLP version is not supported.

W

weakMatch(Scopes) - Method in class org.livetribe.slp.Scopes
Matches the given Scopes argument against this Scopes object, more weakly than Scopes.match(Scopes).
WILDCARD - Static variable in class org.livetribe.slp.Scopes
The WILDCARD scope is special, as it does not match any scope, and all other scopes will match it.
writeInt(int, byte[], int, int) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
Writes an integer value to bytes in network byte order
writeString(String) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 
writeStringArray(String[]) - Static method in class org.livetribe.slp.spi.msg.BytesBlock
 

A B C D E F G H I L M N O P R S T U V W

Copyright © 2006-2012 LiveTribe. All Rights Reserved.