- dataType - Variable in class net.tomp2p.upnp.StateVariable
-
The variable UPNP data type
- DATE - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
Date in a subset of ISO 8601 format without time data.
- DATE_INT - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
- DATETIME - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
Date in ISO 8601 format with optional time but no time zone.
- DATETIME_INT - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
- DATETIME_TZ - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
Date in ISO 8601 format with optional time and optional time zone.
- DATETIME_TZ_INT - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
- decodeMessage(Buffer, InetSocketAddress, InetSocketAddress) - Static method in class net.tomp2p.relay.RelayUtils
-
- DEFAULT_MX - Static variable in class net.tomp2p.upnp.Discovery
-
- DEFAULT_SEARCH - Static variable in class net.tomp2p.upnp.Discovery
-
- DEFAULT_SSDP_SEARCH_PORT - Static variable in class net.tomp2p.upnp.Discovery
-
- DEFAULT_TIMEOUT - Static variable in class net.tomp2p.upnp.Discovery
-
- DEFAULT_TTL - Static variable in class net.tomp2p.upnp.Discovery
-
- defaultValue - Variable in class net.tomp2p.upnp.StateVariable
-
The default value of the state variable
- deletePortMapping(String, int, String) - Method in class net.tomp2p.upnp.InternetGatewayDevice
-
Deletes a port mapping on the IDG device
- Device - Class in net.tomp2p.upnp
-
This class represents an UPNP device, this device contains a set of services
that will be needed to access the device functionalities.
- Device(Node, Device, URL) - Constructor for class net.tomp2p.upnp.Device
-
- deviceType - Variable in class net.tomp2p.upnp.Device
-
- direction - Variable in class net.tomp2p.upnp.Argument
-
- discover() - Static method in class net.tomp2p.upnp.Discovery
-
Devices discovering on all network interfaces with default values, all
root devices will be searched
- discover(String) - Static method in class net.tomp2p.upnp.Discovery
-
Devices discovering on all network interfaces with a given root device to
search
- discover(int, String) - Static method in class net.tomp2p.upnp.Discovery
-
Devices discovering on all network interfaces with a given timeout and a
given root device to search
- discover(int, int, int, String) - Static method in class net.tomp2p.upnp.Discovery
-
Devices discovering on all network interfaces with a given timeout and a
given root device to search, as well as a ttl and mx param
- discover(int, int, int, String, NetworkInterface) - Static method in class net.tomp2p.upnp.Discovery
-
Devices discovering with a given timeout and a given root device to
search on an given network interface, as well as a ttl and mx param
- discoveredDevice(String, String, String, String, URL, String, InetAddress) - Method in interface net.tomp2p.upnp.DiscoveryResultsHandler
-
Method called by the DiscoveryListener class when a search response
message has been received from the network
- Discovery - Class in net.tomp2p.upnp
-
Class to discover an UPNP device on the network. A multicast socket will
be created to discover devices, the binding port for this socket is set to
1901, if this is causing a problem you can use the
net.sbbi.upnp.Discovery.bindPort system property to specify another port.
- Discovery() - Constructor for class net.tomp2p.upnp.Discovery
-
- DiscoveryListener - Class in net.tomp2p.upnp
-
This class can be used to listen for UPNP devices responses when a search
message is sent by a control point ( using the
net.sbbi.upnp.Discovery.sendSearchMessage() method )
- DiscoveryResultsHandler - Interface in net.tomp2p.upnp
-
This interface can be use to register against the DiscoveryListener class to
receive SSDP search responses.
- DistributedRelay - Class in net.tomp2p.relay
-
The relay manager is responsible for setting up and maintaining connections
to relay peers and contains all information about the relays.
- DistributedRelay(Peer, RelayRPC, int) - Constructor for class net.tomp2p.relay.DistributedRelay
-
- distributedRelay(DistributedRelay) - Method in class net.tomp2p.relay.FutureRelay
-
- distributedRelay() - Method in class net.tomp2p.relay.FutureRelay
-
- done(PeerAddress, PeerAddress) - Method in class net.tomp2p.nat.FutureNAT
-
- done(Shutdown) - Method in class net.tomp2p.nat.FutureRelayNAT
-
- Gateway - Class in net.tomp2p.natpmp
-
- Gateway() - Constructor for class net.tomp2p.natpmp.Gateway
-
- getActionArgument(String) - Method in class net.tomp2p.upnp.Action
-
- getAll() - Method in class net.tomp2p.relay.RelayForwarderRPC
-
- getAvailableActionsName() - Method in class net.tomp2p.upnp.Service
-
- getAvailableActionsSize() - Method in class net.tomp2p.upnp.Service
-
- getAvailableStateVariableName() - Method in class net.tomp2p.upnp.Service
-
- getAvailableStateVariableSize() - Method in class net.tomp2p.upnp.Service
-
- getChildDevice(String) - Method in class net.tomp2p.upnp.Device
-
Looks for a child UPNP device definition file, the whole devices tree
will be searched, starting from the current device node.
- getChildDevices() - Method in class net.tomp2p.upnp.Device
-
Generates a list of all the child ( not only top level, full childrens
hierarchy included ) UPNPDevice objects for this device.
- getDataTypeAsClass() - Method in class net.tomp2p.upnp.StateVariable
-
The variable JAVA data type (using an UPNP->Java mapping)
- getDetailErrorCode() - Method in exception net.tomp2p.upnp.UPNPResponseException
-
- getDetailErrorDescription() - Method in exception net.tomp2p.upnp.UPNPResponseException
-
- getDeviceDefinitionXML() - Method in class net.tomp2p.upnp.RootDevice
-
Retrieves the device definition XML data
- getDevices(int) - Static method in class net.tomp2p.upnp.InternetGatewayDevice
-
Lookup all the IGD (IP or PPP) devices on the network.
- getDevices(int, int, int, NetworkInterface) - Static method in class net.tomp2p.upnp.InternetGatewayDevice
-
Lookup all the IGD (IP urn:schemas-upnp-org:service:WANIPConnection:1, or
PPP urn:schemas-upnp-org:service:WANPPPConnection:1) devices for a given
network interface.
- getDirectParent() - Method in class net.tomp2p.upnp.Device
-
Return the parent UPNPDevice, null if the device is an UPNPRootDevice
- getDiscoveryUDN() - Method in class net.tomp2p.upnp.RootDevice
-
- getDiscoveryUSN() - Method in class net.tomp2p.upnp.RootDevice
-
- getExternalAddress() - Method in class net.tomp2p.natpmp.ExternalAddressRequestMessage
-
Gets the NAT-PMP gateway's external address.
- getExternalIPAddress() - Method in class net.tomp2p.upnp.InternetGatewayDevice
-
Retrieves the external IP address
- getExternalPort() - Method in class net.tomp2p.natpmp.MapRequestMessage
-
Gets the external port that was assigned.
- getFaultCode() - Method in exception net.tomp2p.upnp.UPNPResponseException
-
- getFaultString() - Method in exception net.tomp2p.upnp.UPNPResponseException
-
- getGenericPortMappingEntry(int) - Method in class net.tomp2p.upnp.InternetGatewayDevice
-
Retrieves a generic port mapping entry.
- getIGDRootDevice() - Method in class net.tomp2p.upnp.InternetGatewayDevice
-
Retrieves the IDG UNPNRootDevice object
- getInputActionArgument(String) - Method in class net.tomp2p.upnp.Action
-
Look for an input ServiceActionArgument for a given name
- getInputActionArguments() - Method in class net.tomp2p.upnp.Action
-
Return a list containing input ( when a response is sent ) arguments
objects
- getInternalPort() - Method in class net.tomp2p.natpmp.MapRequestMessage
-
Gets the internal port on which mapped data will arrive.
- getIP() - Static method in class net.tomp2p.natpmp.Gateway
-
- getIsoDate(Date) - Static method in class net.tomp2p.upnp.ISO8601Date
-
Generate a ISO 8601 date
- getIsoDateTime(Date) - Static method in class net.tomp2p.upnp.ISO8601Date
-
Generate a ISO 8601 date time without timezone
- getIsoDateTimeZone(Date) - Static method in class net.tomp2p.upnp.ISO8601Date
-
Generate a ISO 8601 date time with timezone
- getIsoTime(Date) - Static method in class net.tomp2p.upnp.ISO8601Date
-
Generate a ISO 8601 time
- getIsoTimeZone(Date) - Static method in class net.tomp2p.upnp.ISO8601Date
-
Generate a ISO 8601 time
- getLocalIP() - Method in class net.tomp2p.upnp.RootDevice
-
- getLocalizedMessage() - Method in exception net.tomp2p.upnp.UPNPResponseException
-
- getMessage(String) - Method in class net.tomp2p.upnp.UPNPMessageFactory
-
Creation of a new ActionMessage to communicate with the UPNP device
- getMessage() - Method in exception net.tomp2p.upnp.UPNPResponseException
-
- getName() - Method in class net.tomp2p.upnp.Action
-
The action name
- getNatMappingsCount() - Method in class net.tomp2p.upnp.InternetGatewayDevice
-
Retrieves the current number of mapping in the NAT table
- getOutActionArgument(String) - Method in class net.tomp2p.upnp.ActionResponse
-
- getOutActionArgumentNames() - Method in class net.tomp2p.upnp.ActionResponse
-
- getOutActionArgumentValue(String) - Method in class net.tomp2p.upnp.ActionResponse
-
- getOutputActionArgument(String) - Method in class net.tomp2p.upnp.Action
-
Look for an output
Argument for a given name
- getOutputActionArguments() - Method in class net.tomp2p.upnp.Action
-
Return a list containing output ( when a response is received ) arguments
objects
- getPeerAddress() - Method in class net.tomp2p.nat.FutureNAT
-
The peerAddress where we are reachable.
- getPortMappingLifetime() - Method in class net.tomp2p.natpmp.MapRequestMessage
-
Gets the assigned port mapping lifetime.
- getRelatedStateVariable() - Method in class net.tomp2p.upnp.Argument
-
The related service state variable for this ServiceActionArgument
- getReporter() - Method in class net.tomp2p.nat.FutureNAT
-
- getRequestedExternalPort() - Method in class net.tomp2p.natpmp.MapRequestMessage
-
Get sthe external port that was requested.
- getRequestedPortMappingLifetime() - Method in class net.tomp2p.natpmp.MapRequestMessage
-
Gets the requested port mapping lifetime.
- getResponseException() - Method in class net.tomp2p.natpmp.Message
-
Gets the excpetion associated with the response.
- getResultCode() - Method in class net.tomp2p.natpmp.Message
-
Gets the result code.
- getSCDPData() - Method in class net.tomp2p.upnp.Service
-
- getSecondsSinceEpoch() - Method in class net.tomp2p.natpmp.Message
-
Gets the seconds since epoch as received from the NAT-PMP gateway.
- getService(String) - Method in class net.tomp2p.upnp.Device
-
Looks for a UPNP device service definition object for the given service
URI (Type)
- getServiceByID(String) - Method in class net.tomp2p.upnp.Device
-
Looks for a UPNP device service definition object for the given service
ID
- getServices(String) - Method in class net.tomp2p.upnp.Device
-
Looks for the all the UPNP device service definition object for the
current UPNP device object.
- getSpecificPortMappingEntry(String, int, String) - Method in class net.tomp2p.upnp.InternetGatewayDevice
-
Retrieves information about a specific port mapping
- getSpecVersionMajor() - Method in class net.tomp2p.upnp.RootDevice
-
- getSpecVersionMajor() - Method in class net.tomp2p.upnp.Service
-
- getSpecVersionMinor() - Method in class net.tomp2p.upnp.RootDevice
-
- getSpecVersionMinor() - Method in class net.tomp2p.upnp.Service
-
- getStateVariableMessage(String) - Method in class net.tomp2p.upnp.UPNPMessageFactory
-
Creation of a new StateVariableMessage to communicate with the UPNP
device, for a service state variable query
- getStateVariableValue() - Method in class net.tomp2p.upnp.StateVariableResponse
-
- getUPNPServiceAction(String) - Method in class net.tomp2p.upnp.Service
-
Retrieves a service action for its given name
- getUPNPServiceStateVariable(String) - Method in class net.tomp2p.upnp.Service
-
Retrieves a service state variable for its given name
- getURL(String, URL) - Static method in class net.tomp2p.upnp.Device
-
Parsing an URL from the descriptionXML file
- getValidityTime() - Method in class net.tomp2p.upnp.RootDevice
-
The validity time for this device in milliseconds,
- getValue() - Method in class net.tomp2p.upnp.StateVariable
-
Call to the UPNP device to retrieve the state variable actual value
- getVendorFirmware() - Method in class net.tomp2p.upnp.RootDevice
-
- getXML(URL) - Static method in class net.tomp2p.upnp.XMLUtil
-
Fetches the xml, fixes any wonky characters in it
- getXMLString(URL) - Static method in class net.tomp2p.upnp.XMLUtil
-
- SCPDURL - Variable in class net.tomp2p.upnp.Service
-
- sendEvents - Variable in class net.tomp2p.upnp.StateVariable
-
Boolean to indicate if the variable is sending events when value of the
var is changing.
- sendPeerMap(PeerAddress, List<Map<Number160, PeerStatatistic>>, PeerConnection) - Method in class net.tomp2p.relay.RelayRPC
-
Send the peer map of an unreachable peer to a relay peer, so that the
relay peer can reply to neighbor requests on behalf of the unreachable
peer.
- sendSearchMessage(InetAddress, int, int, String) - Static method in class net.tomp2p.upnp.Discovery
-
Sends an SSDP search message on the network
- serialNumber - Variable in class net.tomp2p.upnp.Device
-
- service() - Method in class net.tomp2p.upnp.ActionMessage
-
Executes the message and retuns the UPNP device response, according to
the UPNP specs, this method could take up to 30 secs to process ( time
allowed for a device to respond to a request )
- Service - Class in net.tomp2p.upnp
-
Representation of an UPNP service
- Service(Node, URL, Device) - Constructor for class net.tomp2p.upnp.Service
-
- service() - Method in class net.tomp2p.upnp.StateVariableMessage
-
Executes the state variable query and returns the UPNP device response,
according to the UPNP specs, this method could take up to 30 secs to
process ( time allowed for a device to respond to a request )
- service - Variable in class net.tomp2p.upnp.UPNPMessageFactory
-
- serviceId - Variable in class net.tomp2p.upnp.Service
-
- serviceOwnerDevice - Variable in class net.tomp2p.upnp.Service
-
- services - Variable in class net.tomp2p.upnp.Device
-
- serviceType - Variable in class net.tomp2p.upnp.Service
-
- setDaemon(boolean) - Method in class net.tomp2p.upnp.DiscoveryListener
-
Sets the listener as a daemon thread
- setDone(Collection<PeerConnection>) - Method in class net.tomp2p.relay.FutureRelay
-
- setInputParameter(String, Object) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call.
- setInputParameter(String, String) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call.
- setInputParameter(String, Date) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, boolean) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, byte) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, short) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, int) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, long) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, float) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setInputParameter(String, double) - Method in class net.tomp2p.upnp.ActionMessage
-
Set the value of an input parameter before a message service call
- setMap(List<Map<Number160, PeerStatatistic>>) - Method in class net.tomp2p.relay.RelayForwarderRPC
-
- setupPortforwarding(String) - Method in class net.tomp2p.nat.PeerNAT
-
The Dynamic and/or Private Ports are those from 49152 through 65535
(http://www.iana.org/assignments/port-numbers).
- setupRelay(ChannelCreator, FuturePeerConnection) - Method in class net.tomp2p.relay.RelayRPC
-
Set up a relay connection to a peer.
- setupRelays(FutureRelay, Collection<PeerAddress>, int, int) - Method in class net.tomp2p.relay.DistributedRelay
-
Sets up relay connections to other peers.
- shutdown() - Method in class net.tomp2p.nat.FutureRelayNAT
-
- shutdown() - Method in class net.tomp2p.nat.NATUtils
-
Since shutdown is also called from the shutdown hook, it might get called twice.
- shutdown() - Method in class net.tomp2p.natpmp.NatPmpDevice
-
Shuts down this NatPmpDevice.
- shutdown() - Method in class net.tomp2p.relay.DistributedRelay
-
- size() - Method in class net.tomp2p.relay.ConcurrentCacheSet
-
- SSDP_IP - Static variable in class net.tomp2p.upnp.Discovery
-
- SSDP_PORT - Static variable in class net.tomp2p.upnp.Discovery
-
- startRelay() - Method in class net.tomp2p.nat.PeerNAT
-
- startRelay(FutureNAT) - Method in class net.tomp2p.nat.PeerNAT
-
- startRelayMaintenance(FutureRelay) - Method in class net.tomp2p.nat.PeerNAT
-
- startSetupPortforwarding(FutureDiscover) - Method in class net.tomp2p.nat.PeerNAT
-
Setup UPNP or NATPMP port forwarding.
- startSetupRelay(FutureNAT) - Method in class net.tomp2p.nat.PeerNAT
-
- startSetupRelay() - Method in class net.tomp2p.nat.PeerNAT
-
- stateVar - Variable in class net.tomp2p.upnp.StateVariableResponse
-
- StateVariable - Class in net.tomp2p.upnp
-
Class to contain a service state variable definition
- StateVariableMessage - Class in net.tomp2p.upnp
-
This class is used to create state variable messages to communicate with the
device
- StateVariableResponse - Class in net.tomp2p.upnp
-
This class contains data returned by a state variable query response
- StateVariableTypes - Interface in net.tomp2p.upnp
-
Interface to defined allowed values for service state variables data types
- stepRangeValue - Variable in class net.tomp2p.upnp.StateVariable
-
The value step range as a string
- STRING - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-
Unicode string.
- STRING_INT - Static variable in interface net.tomp2p.upnp.StateVariableTypes
-