Packages that use Device
Package
Description
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
Core UPnP device, service and root-device model of the Cybergarage stack.
UPnP device and service handling, including the local device description, of the Cybergarage stack.
Uses of Device in net.i2p.router.transport
Classes in net.i2p.router.transport that implement interfaces with type arguments of type DeviceModifier and TypeClassDescriptionprivate static classCompare based on friendly name of the device.Fields in net.i2p.router.transport declared as DeviceFields in net.i2p.router.transport with type parameters of type DeviceMethods in net.i2p.router.transport that return DeviceModifier and TypeMethodDescriptionprivate DeviceUPnP.SIDtoDevice(String sid) The device holding a service with the given subscription ID.Methods in net.i2p.router.transport with parameters of type DeviceModifier and TypeMethodDescriptionvoidUPnP.deviceAdded(Device dev) Examines a newly discovered device and maps ports when it is a gateway.voidUPnP.deviceRemoved(Device dev) Drops a departed device and un-maps every port it had held.UPnP.discoverService(Device router) Traverses the structure of the router device looking for the port mapping service.private static StringThe local IP of the device.private voidUPnP.listSubDev(String prefix, Device dev, StringBuilder sb) Lists a device and its children in the debug output.private voidUPnP.listSubServices(Device dev, StringBuilder sb) Lists a device's services in the debug output.Method parameters in net.i2p.router.transport with type arguments of type DeviceUses of Device in org.cybergarage.upnp
Subclasses with type arguments of type Device in org.cybergarage.upnpMethods in org.cybergarage.upnp that return DeviceModifier and TypeMethodDescriptionGet a device by its name or UDN.private DeviceFinds the device matching the description node.Finds an embedded device by UDN, friendly name or device type.DeviceList.getDevice(int n) Returns the device stored at the specified position.Service.getDevice()Gets the device containing this service.Device.getDeviceByDescriptionURI(String uri) Finds an embedded device served at the given description URI.Device.getParentDevice()Get the device that contains this one.Device.getRootDevice()Gets the root of this device's description tree.Service.getRootDevice()Gets the root device containing this service.Methods in org.cybergarage.upnp with parameters of type DeviceModifier and TypeMethodDescriptionvoidAdd a Device to device without checking for duplicate or syntax error.voidControlPoint.performAddDeviceListener(Device dev) Notify all registered device change listeners of an added device.voidControlPoint.performRemoveDeviceListener(Device dev) Notify all registered device change listeners of a removed device.protected voidControlPoint.removeDevice(Device dev) Remove a device from the device list.voidControlPoint.renewSubscriberService(Device dev, long timeout) Renew the subscriptions of a device and of its embedded devices.voidControlPoint.unsubscribe(Device device) Cancel the subscriptions of a device and of its embedded devices.private voidDevice.updateConfigId(Device dev) Copies the configuration id from another device.Uses of Device in org.cybergarage.upnp.device
Fields in org.cybergarage.upnp.device declared as DeviceMethods in org.cybergarage.upnp.device that return DeviceMethods in org.cybergarage.upnp.device with parameters of type DeviceModifier and TypeMethodDescriptionvoidDeviceChangeListener.deviceAdded(Device dev) Called when a UPnP device is added to the control point.voidDeviceChangeListener.deviceRemoved(Device dev) Called when a UPnP device is removed from the control point.voidSets the device to advertise.Constructors in org.cybergarage.upnp.device with parameters of type Device