public class CmreUdpArgs extends ProtocolArgs implements PropertiesProvider
DEFAULT_ROOT_ELEMENT, isLoadOk| Constructor and Description |
|---|
CmreUdpArgs() |
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Document |
asDocument(java.lang.String rootElementName) |
int |
getCommandPort() |
java.lang.String |
getHostname() |
com.l2fprod.common.propertysheet.DefaultProperty[] |
getProperties() |
java.lang.String |
getPropertiesDialogTitle() |
java.lang.String[] |
getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties) |
int |
getReplyPort() |
int |
getTelemetryPort() |
boolean |
load(org.dom4j.Element elem)
Should set
XmlInputMethods.isLoadOk() return value. |
void |
setCommandPort(int command_port) |
void |
setHostname(java.lang.String hostname) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setReplyPort(int reply_port) |
void |
setTelemetryPort(int telemetry_port) |
asDocument, asElement, asElement, asXML, asXML, isLoadOk, loadpublic org.dom4j.Document asDocument(java.lang.String rootElementName)
asDocument in interface XmlOutputMethodspublic boolean load(org.dom4j.Element elem)
XmlInputMethodsXmlInputMethods.isLoadOk() return value.load in interface XmlInputMethodspublic com.l2fprod.common.propertysheet.DefaultProperty[] getProperties()
getProperties in interface PropertiesProviderpublic java.lang.String getPropertiesDialogTitle()
getPropertiesDialogTitle in interface PropertiesProviderpublic java.lang.String[] getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties)
getPropertiesErrors in interface PropertiesProviderpublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProviderpublic java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname - the hostname to setpublic int getCommandPort()
public void setCommandPort(int command_port)
command_port - the command_port to setpublic int getReplyPort()
public void setReplyPort(int reply_port)
reply_port - the reply_port to setpublic int getTelemetryPort()
public void setTelemetryPort(int telemetry_port)
telemetry_port - the telemetry_port to setCopyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.