Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addPortMapping(int, int, String, String, String) - Method in class org.bitlet.weupnp.GatewayDevice
-
Adds a new port mapping to the GatewayDevices using the supplied parameters.
C
- characters(char[], int, int) - Method in class org.bitlet.weupnp.GatewayDeviceHandler
-
Receive notification of character data inside an element.
- characters(char[], int, int) - Method in class org.bitlet.weupnp.NameValueHandler
-
Receive notification of character data inside an element.
D
- deletePortMapping(int, String) - Method in class org.bitlet.weupnp.GatewayDevice
-
Deletes the port mapping associated to externalPort and protocol
- discover() - Method in class org.bitlet.weupnp.GatewayDiscover
-
Discovers Gateway Devices on the network(s) the executing machine is connected to.
E
- endElement(String, String, String) - Method in class org.bitlet.weupnp.GatewayDeviceHandler
-
Receive notification of the end of an element.
- endElement(String, String, String) - Method in class org.bitlet.weupnp.NameValueHandler
-
Receive notification of the end of an element.
G
- GatewayDevice - Class in org.bitlet.weupnp
-
A GatewayDevice is a class that abstracts UPnP-compliant gateways
- GatewayDevice() - Constructor for class org.bitlet.weupnp.GatewayDevice
-
Creates a new instance of GatewayDevice
- GatewayDeviceHandler - Class in org.bitlet.weupnp
-
A SAX handler used to parse XML data representing a GatewayDevice
- GatewayDeviceHandler(GatewayDevice) - Constructor for class org.bitlet.weupnp.GatewayDeviceHandler
-
Creates a new instance of GatewayDeviceHandler that will populate the fields of the supplied device
- GatewayDiscover - Class in org.bitlet.weupnp
-
Handles the discovery of GatewayDevices, via the
GatewayDiscover.discover()
method. - GatewayDiscover() - Constructor for class org.bitlet.weupnp.GatewayDiscover
-
Constructor.
- GatewayDiscover(String) - Constructor for class org.bitlet.weupnp.GatewayDiscover
-
Constructor of the gateway discover service.
- GatewayDiscover(String[]) - Constructor for class org.bitlet.weupnp.GatewayDiscover
-
Constructor.
- getAllGateways() - Method in class org.bitlet.weupnp.GatewayDiscover
-
Returns list of all discovered gateways.
- getControlURL() - Method in class org.bitlet.weupnp.GatewayDevice
- getControlURLCIF() - Method in class org.bitlet.weupnp.GatewayDevice
- getDeviceType() - Method in class org.bitlet.weupnp.GatewayDevice
- getDeviceTypeCIF() - Method in class org.bitlet.weupnp.GatewayDevice
- getEnabled() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the enabled flag ("1" if enabled, "0" otherwise)
- getEventSubURL() - Method in class org.bitlet.weupnp.GatewayDevice
- getEventSubURLCIF() - Method in class org.bitlet.weupnp.GatewayDevice
- getExternalIPAddress() - Method in class org.bitlet.weupnp.GatewayDevice
-
Retrieves the external IP address associated with this device
- getExternalPort() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the external (remote) port for this mapping
- getFriendlyName() - Method in class org.bitlet.weupnp.GatewayDevice
- getGenericPortMappingEntry(int, PortMappingEntry) - Method in class org.bitlet.weupnp.GatewayDevice
-
Returns a specific port mapping entry, depending on a the supplied index.
- getHttpReadTimeout() - Static method in class org.bitlet.weupnp.GatewayDevice
-
Gets the timeout for actions on the device.
- getInternalClient() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the internal host this mapping is associated with
- getInternalPort() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the internal port for this mapping
- getLocalAddress() - Method in class org.bitlet.weupnp.GatewayDevice
-
Gets the local address to connect the gateway through
- getLocation() - Method in class org.bitlet.weupnp.GatewayDevice
- getManufacturer() - Method in class org.bitlet.weupnp.GatewayDevice
- getModelDescription() - Method in class org.bitlet.weupnp.GatewayDevice
- getModelName() - Method in class org.bitlet.weupnp.GatewayDevice
- getModelNumber() - Method in class org.bitlet.weupnp.GatewayDevice
- getPortMappingDescription() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the port mapping description
- getPortMappingNumberOfEntries() - Method in class org.bitlet.weupnp.GatewayDevice
-
Retrieves the number of port mappings that are registered on the GatewayDevice.
- getPresentationURL() - Method in class org.bitlet.weupnp.GatewayDevice
- getProtocol() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the protocol associated with this mapping
- getRemoteHost() - Method in class org.bitlet.weupnp.PortMappingEntry
-
Gets the remote host this mapping is associated with
- getSCPDURL() - Method in class org.bitlet.weupnp.GatewayDevice
- getSCPDURLCIF() - Method in class org.bitlet.weupnp.GatewayDevice
- getServiceType() - Method in class org.bitlet.weupnp.GatewayDevice
- getServiceTypeCIF() - Method in class org.bitlet.weupnp.GatewayDevice
- getSpecificPortMappingEntry(int, String, PortMappingEntry) - Method in class org.bitlet.weupnp.GatewayDevice
-
Queries the GatewayDevice to retrieve a specific port mapping entry, corresponding to specified criteria, if present.
- getSt() - Method in class org.bitlet.weupnp.GatewayDevice
- getTimeout() - Method in class org.bitlet.weupnp.GatewayDiscover
-
Gets the timeout for socket connections of the initial broadcast request.
- getURLBase() - Method in class org.bitlet.weupnp.GatewayDevice
- getValidGateway() - Method in class org.bitlet.weupnp.GatewayDiscover
-
Gets the first connected gateway
I
- IP - Static variable in class org.bitlet.weupnp.GatewayDiscover
-
The broadcast address to use when trying to contact UPnP devices
- isConnected() - Method in class org.bitlet.weupnp.GatewayDevice
-
Retrieves the connection status of this device
L
- loadDescription() - Method in class org.bitlet.weupnp.GatewayDevice
-
Retrieves the properties and description of the GatewayDevice.
M
- main(String[]) - Static method in class org.bitlet.weupnp.Main
- Main - Class in org.bitlet.weupnp
-
This class contains a trivial main method that can be used to test whether weupnp is able to manipulate port mappings on a IGD (Internet Gateway Device) on the same network.
- Main() - Constructor for class org.bitlet.weupnp.Main
N
- NameValueHandler - Class in org.bitlet.weupnp
-
A simple SAX handler that is used to parse XML name value pairs in the form <name>value</name>
- NameValueHandler(Map<String, String>) - Constructor for class org.bitlet.weupnp.NameValueHandler
-
Creates a new instance of a NameValueHandler, storing values in the supplied map
O
- org.bitlet.weupnp - package org.bitlet.weupnp
P
- PORT - Static variable in class org.bitlet.weupnp.GatewayDiscover
-
The SSDP port
- PortMappingEntry - Class in org.bitlet.weupnp
-
A PortMappingEntry is the class used to represent port mappings on the GatewayDevice.
- PortMappingEntry() - Constructor for class org.bitlet.weupnp.PortMappingEntry
-
Creates a new PortMappingEntry
S
- setControlURL(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setControlURLCIF(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setDeviceType(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setDeviceTypeCIF(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setEnabled(String) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.enabled
flag - setEventSubURL(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setEventSubURLCIF(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setExternalPort(int) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.externalPort
- setFriendlyName(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setHttpReadTimeout(int) - Static method in class org.bitlet.weupnp.GatewayDevice
-
Sets the timeout for actions on the device.
- setInternalClient(String) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.internalClient
- setInternalPort(int) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.internalPort
- setLocalAddress(InetAddress) - Method in class org.bitlet.weupnp.GatewayDevice
-
Sets the
GatewayDevice.localAddress
- setLocation(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setManufacturer(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setModelDescription(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setModelName(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setModelNumber(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setPortMappingDescription(String) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.portMappingDescription
- setPresentationURL(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setProtocol(String) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.protocol
associated with this mapping - setRemoteHost(String) - Method in class org.bitlet.weupnp.PortMappingEntry
-
Sets the
PortMappingEntry.remoteHost
- setSCPDURL(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setSCPDURLCIF(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setServiceType(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setServiceTypeCIF(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setSt(String) - Method in class org.bitlet.weupnp.GatewayDevice
- setTimeout(int) - Method in class org.bitlet.weupnp.GatewayDiscover
-
Sets the timeout for socket connections of the initial broadcast request.
- setURLBase(String) - Method in class org.bitlet.weupnp.GatewayDevice
- simpleUPnPcommand(String, String, String, Map<String, String>) - Static method in class org.bitlet.weupnp.GatewayDevice
-
Issues UPnP commands to a GatewayDevice that can be reached at the specified url
- startElement(String, String, String, Attributes) - Method in class org.bitlet.weupnp.GatewayDeviceHandler
-
Receive notification of the start of an element.
- startElement(String, String, String, Attributes) - Method in class org.bitlet.weupnp.NameValueHandler
-
Receive notification of the start of an element.
All Classes and Interfaces|All Packages|Constant Field Values