org.teleal.cling.support.igd
Class PortMapping
java.lang.Object
org.teleal.cling.support.igd.PortMapping
public class PortMapping
- extends java.lang.Object
- Author:
- Christian Bauer
Constructor Summary |
PortMapping()
|
PortMapping(boolean enabled,
org.teleal.cling.model.types.UnsignedIntegerFourBytes leaseDurationSeconds,
java.lang.String remoteHost,
org.teleal.cling.model.types.UnsignedIntegerTwoBytes externalPort,
org.teleal.cling.model.types.UnsignedIntegerTwoBytes internalPort,
java.lang.String internalClient,
PortMapping.Protocol protocol,
java.lang.String description)
|
PortMapping(int port,
java.lang.String internalClient,
PortMapping.Protocol protocol)
|
PortMapping(int port,
java.lang.String internalClient,
PortMapping.Protocol protocol,
java.lang.String description)
|
PortMapping(java.util.Map<java.lang.String,org.teleal.cling.model.action.ActionArgumentValue<org.teleal.cling.model.meta.Service>> map)
|
PortMapping(java.lang.String remoteHost,
org.teleal.cling.model.types.UnsignedIntegerTwoBytes externalPort,
PortMapping.Protocol protocol)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PortMapping
public PortMapping()
PortMapping
public PortMapping(java.util.Map<java.lang.String,org.teleal.cling.model.action.ActionArgumentValue<org.teleal.cling.model.meta.Service>> map)
PortMapping
public PortMapping(int port,
java.lang.String internalClient,
PortMapping.Protocol protocol)
PortMapping
public PortMapping(int port,
java.lang.String internalClient,
PortMapping.Protocol protocol,
java.lang.String description)
PortMapping
public PortMapping(java.lang.String remoteHost,
org.teleal.cling.model.types.UnsignedIntegerTwoBytes externalPort,
PortMapping.Protocol protocol)
PortMapping
public PortMapping(boolean enabled,
org.teleal.cling.model.types.UnsignedIntegerFourBytes leaseDurationSeconds,
java.lang.String remoteHost,
org.teleal.cling.model.types.UnsignedIntegerTwoBytes externalPort,
org.teleal.cling.model.types.UnsignedIntegerTwoBytes internalPort,
java.lang.String internalClient,
PortMapping.Protocol protocol,
java.lang.String description)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getLeaseDurationSeconds
public org.teleal.cling.model.types.UnsignedIntegerFourBytes getLeaseDurationSeconds()
setLeaseDurationSeconds
public void setLeaseDurationSeconds(org.teleal.cling.model.types.UnsignedIntegerFourBytes leaseDurationSeconds)
hasRemoteHost
public boolean hasRemoteHost()
getRemoteHost
public java.lang.String getRemoteHost()
setRemoteHost
public void setRemoteHost(java.lang.String remoteHost)
getExternalPort
public org.teleal.cling.model.types.UnsignedIntegerTwoBytes getExternalPort()
setExternalPort
public void setExternalPort(org.teleal.cling.model.types.UnsignedIntegerTwoBytes externalPort)
getInternalPort
public org.teleal.cling.model.types.UnsignedIntegerTwoBytes getInternalPort()
setInternalPort
public void setInternalPort(org.teleal.cling.model.types.UnsignedIntegerTwoBytes internalPort)
getInternalClient
public java.lang.String getInternalClient()
setInternalClient
public void setInternalClient(java.lang.String internalClient)
getProtocol
public PortMapping.Protocol getProtocol()
setProtocol
public void setProtocol(PortMapping.Protocol protocol)
hasDescription
public boolean hasDescription()
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.