Public Member Functions | |
ConnectionData (String a_strXMLNodeName, int a_iTransport, String a_strHostname) | |
ConnectionData (String a_strXMLNodeName, int a_iTransport, String a_strHostname, int a_iFlags) | |
ConnectionData (String a_strXMLNodeName, int a_iTransport, String a_strHostname, int a_iPort, int a_iFlags, boolean virtual, boolean hidden) | |
ConnectionData (String a_strXMLNodeName, int a_iTransport, String a_strHostname, int a_iPort, String a_strVisibleAddress, int a_iFlags, boolean virtual, boolean hidden) | |
Object | clone () |
int | getFlags () |
int | getTransport () |
void | setHostname (String n) |
String | getHostname () |
void | setVisibleAddress (String n) |
String | getVisibleAddress () |
int | getPort () |
boolean | isHidden () |
boolean | isVirtual () |
String | getVisibilityString () |
Element | toXmlElement (Document docOwner) |
Static Public Attributes | |
static final int | TRANSPORT = 1 |
static final int | TCP = 0 |
static final int | UNIX = 1 |
static final int | RAW = 0 |
static final int | SSL = 2 |
static final int | RAW_TCP = RAW | TCP |
static final int | RAW_UNIX = RAW | UNIX |
static final int | SSL_TCP = SSL | TCP |
static final int | SSL_UNIX = SSL | UNIX |
static final int | PROXY_MASK = 3 |
static final int | NO_PROXY = 0 |
static final int | HTTP_PROXY = 1 |
static final int | SOCKS_PROXY = 2 |
Package Functions | |
void | setFlags (int f) |
void | setType (String t) |
String | getType () |
void | setTransport (int t) |
void | setPort (int p) |
void | setIsHidden (boolean b) |
void | setIsVirtual (boolean b) |
Static Package Functions | |
static ConnectionData | createFromElement (String tag, Element elemRoot) |
Static Private Member Functions | |
static String | getChildElementValue (Element elemParent, String childName) |
Private Attributes | |
String | m_strXMLNodeName |
int | m_iTransport |
String | m_strHostname |
int | m_iPort |
String | m_strVisibleAddress |
int | m_iFlags |
boolean | m_bIsVirtual = false |
boolean | m_bIsHidden = false |
mixconfig.network.ConnectionData.ConnectionData | ( | String | a_strXMLNodeName, | |
int | a_iTransport, | |||
String | a_strHostname | |||
) |
Incredible enchainment of constructors ;-)
Referenced by mixconfig.network.ConnectionData.clone(), and mixconfig.network.ConnectionData.createFromElement().
mixconfig.network.ConnectionData.ConnectionData | ( | String | a_strXMLNodeName, | |
int | a_iTransport, | |||
String | a_strHostname, | |||
int | a_iFlags | |||
) |
mixconfig.network.ConnectionData.ConnectionData | ( | String | a_strXMLNodeName, | |
int | a_iTransport, | |||
String | a_strHostname, | |||
int | a_iPort, | |||
int | a_iFlags, | |||
boolean | virtual, | |||
boolean | hidden | |||
) |
mixconfig.network.ConnectionData.ConnectionData | ( | String | a_strXMLNodeName, | |
int | a_iTransport, | |||
String | a_strHostname, | |||
int | a_iPort, | |||
String | a_strVisibleAddress, | |||
int | a_iFlags, | |||
boolean | virtual, | |||
boolean | hidden | |||
) |
References mixconfig.network.ConnectionData.setFlags(), mixconfig.network.ConnectionData.setHostname(), mixconfig.network.ConnectionData.setIsHidden(), mixconfig.network.ConnectionData.setIsVirtual(), mixconfig.network.ConnectionData.setPort(), mixconfig.network.ConnectionData.setTransport(), mixconfig.network.ConnectionData.setType(), and mixconfig.network.ConnectionData.setVisibleAddress().
Object mixconfig.network.ConnectionData.clone | ( | ) |
References mixconfig.network.ConnectionData.ConnectionData(), mixconfig.network.ConnectionData.m_bIsHidden, mixconfig.network.ConnectionData.m_bIsVirtual, mixconfig.network.ConnectionData.m_iFlags, mixconfig.network.ConnectionData.m_iPort, mixconfig.network.ConnectionData.m_iTransport, mixconfig.network.ConnectionData.m_strHostname, and mixconfig.network.ConnectionData.m_strXMLNodeName.
Referenced by mixconfig.panels.GeneralPanel.setMixOnCDInfo().
void mixconfig.network.ConnectionData.setFlags | ( | int | f | ) | [package] |
References mixconfig.network.ConnectionData.m_iFlags.
Referenced by mixconfig.network.ConnectionData.ConnectionData(), and mixconfig.network.OutgoingDialog.getData().
int mixconfig.network.ConnectionData.getFlags | ( | ) |
void mixconfig.network.ConnectionData.setType | ( | String | t | ) | [package] |
References mixconfig.network.ConnectionData.m_strXMLNodeName.
Referenced by mixconfig.network.ConnectionData.ConnectionData().
String mixconfig.network.ConnectionData.getType | ( | ) | [package] |
References mixconfig.network.ConnectionData.m_strXMLNodeName.
Referenced by mixconfig.network.OutgoingConnectionTableModel.createMixAsElement(), mixconfig.network.ProxyTableModel.createProxiesAsElement(), mixconfig.network.ProxyTableModel.getValueAt(), mixconfig.network.OutgoingConnectionTableModel.getValueAt(), mixconfig.network.ProxyTableModel.readFromElement(), and mixconfig.network.OutgoingConnectionTableModel.readFromElement().
void mixconfig.network.ConnectionData.setTransport | ( | int | t | ) | [package] |
References mixconfig.network.ConnectionData.m_iTransport.
Referenced by mixconfig.network.ConnectionData.ConnectionData().
int mixconfig.network.ConnectionData.getTransport | ( | ) |
References mixconfig.network.ConnectionData.m_iTransport.
Referenced by mixconfig.network.ConnectionDialog.addTransport(), mixconfig.panels.NextMixProxyPanel.check(), mixconfig.panels.GeneralPanel.check(), mixconfig.network.ProxyTableModel.getValueAt(), mixconfig.network.OutgoingConnectionTableModel.getValueAt(), mixconfig.network.IncomingConnectionTableModel.getValueAt(), and mixconfig.panels.GeneralPanel.setMixOnCDInfo().
void mixconfig.network.ConnectionData.setHostname | ( | String | n | ) |
String mixconfig.network.ConnectionData.getHostname | ( | ) |
References mixconfig.network.ConnectionData.m_strHostname.
Referenced by mixconfig.panels.GeneralPanel.actionPerformed(), mixconfig.network.ConnectionDialog.addName(), mixconfig.panels.NextMixProxyPanel.check(), mixconfig.panels.GeneralPanel.check(), mixconfig.tools.EmailComposer.composeEmail(), mixconfig.network.ProxyTableModel.getValueAt(), mixconfig.network.OutgoingConnectionTableModel.getValueAt(), mixconfig.network.IncomingConnectionTableModel.getValueAt(), and mixconfig.panels.GeneralPanel.setMixOnCDInfo().
void mixconfig.network.ConnectionData.setVisibleAddress | ( | String | n | ) |
String mixconfig.network.ConnectionData.getVisibleAddress | ( | ) |
void mixconfig.network.ConnectionData.setPort | ( | int | p | ) | [package] |
References mixconfig.network.ConnectionData.m_iPort.
Referenced by mixconfig.network.ConnectionData.ConnectionData().
int mixconfig.network.ConnectionData.getPort | ( | ) |
References mixconfig.network.ConnectionData.m_iPort.
Referenced by mixconfig.network.ConnectionDialog.addPort(), mixconfig.panels.NextMixProxyPanel.check(), mixconfig.panels.GeneralPanel.check(), mixconfig.tools.EmailComposer.composeEmail(), mixconfig.network.ProxyTableModel.getValueAt(), mixconfig.network.OutgoingConnectionTableModel.getValueAt(), and mixconfig.network.IncomingConnectionTableModel.getValueAt().
void mixconfig.network.ConnectionData.setIsHidden | ( | boolean | b | ) | [package] |
References mixconfig.network.ConnectionData.m_bIsHidden.
Referenced by mixconfig.network.ConnectionData.ConnectionData().
boolean mixconfig.network.ConnectionData.isHidden | ( | ) |
void mixconfig.network.ConnectionData.setIsVirtual | ( | boolean | b | ) | [package] |
References mixconfig.network.ConnectionData.m_bIsVirtual.
Referenced by mixconfig.network.ConnectionData.ConnectionData().
boolean mixconfig.network.ConnectionData.isVirtual | ( | ) |
String mixconfig.network.ConnectionData.getVisibilityString | ( | ) |
Element mixconfig.network.ConnectionData.toXmlElement | ( | Document | docOwner | ) |
Create the XML document
References mixconfig.network.ConnectionData.HTTP_PROXY, mixconfig.network.ConnectionData.isHidden(), mixconfig.network.ConnectionData.isVirtual(), mixconfig.network.ConnectionData.m_iFlags, mixconfig.network.ConnectionData.m_iPort, mixconfig.network.ConnectionData.m_iTransport, mixconfig.network.ConnectionData.m_strHostname, mixconfig.network.ConnectionData.m_strVisibleAddress, mixconfig.network.ConnectionData.m_strXMLNodeName, mixconfig.network.ConnectionData.NO_PROXY, mixconfig.network.ConnectionData.PROXY_MASK, mixconfig.network.ConnectionData.SSL, and mixconfig.network.ConnectionData.UNIX.
Referenced by mixconfig.network.OutgoingConnectionTableModel.createMixAsElement(), and mixconfig.network.ProxyTableModel.createProxiesAsElement().
static ConnectionData mixconfig.network.ConnectionData.createFromElement | ( | String | tag, | |
Element | elemRoot | |||
) | [static, package] |
Instantiate ConnectionData from XML element
tag | ||
elemRoot |
References mixconfig.network.ConnectionData.ConnectionData(), mixconfig.network.ConnectionData.getChildElementValue(), mixconfig.network.ConnectionData.HTTP_PROXY, mixconfig.network.ConnectionData.NO_PROXY, mixconfig.network.ConnectionData.RAW_TCP, mixconfig.network.ConnectionData.RAW_UNIX, mixconfig.network.ConnectionData.SOCKS_PROXY, mixconfig.network.ConnectionData.SSL_TCP, mixconfig.network.ConnectionData.SSL_UNIX, and mixconfig.network.ConnectionData.UNIX.
static String mixconfig.network.ConnectionData.getChildElementValue | ( | Element | elemParent, | |
String | childName | |||
) | [static, private] |
Return the value of a XML element
elemParent | ||
childName |
Referenced by mixconfig.network.ConnectionData.createFromElement().
final int mixconfig.network.ConnectionData.TRANSPORT = 1 [static] |
final int mixconfig.network.ConnectionData.TCP = 0 [static] |
final int mixconfig.network.ConnectionData.UNIX = 1 [static] |
final int mixconfig.network.ConnectionData.RAW = 0 [static] |
final int mixconfig.network.ConnectionData.SSL = 2 [static] |
Referenced by mixconfig.network.ConnectionData.toXmlElement().
final int mixconfig.network.ConnectionData.RAW_TCP = RAW | TCP [static] |
Referenced by mixconfig.network.ConnectionData.createFromElement().
final int mixconfig.network.ConnectionData.RAW_UNIX = RAW | UNIX [static] |
Referenced by mixconfig.network.ConnectionData.createFromElement().
final int mixconfig.network.ConnectionData.SSL_TCP = SSL | TCP [static] |
Referenced by mixconfig.network.ConnectionData.createFromElement().
final int mixconfig.network.ConnectionData.SSL_UNIX = SSL | UNIX [static] |
Referenced by mixconfig.network.ConnectionData.createFromElement().
final int mixconfig.network.ConnectionData.PROXY_MASK = 3 [static] |
Referenced by mixconfig.network.ConnectionData.toXmlElement().
final int mixconfig.network.ConnectionData.NO_PROXY = 0 [static] |
final int mixconfig.network.ConnectionData.HTTP_PROXY = 1 [static] |
final int mixconfig.network.ConnectionData.SOCKS_PROXY = 2 [static] |
Referenced by mixconfig.network.ConnectionData.createFromElement().
String mixconfig.network.ConnectionData.m_strXMLNodeName [private] |
int mixconfig.network.ConnectionData.m_iTransport [private] |
String mixconfig.network.ConnectionData.m_strHostname [private] |
int mixconfig.network.ConnectionData.m_iPort [private] |
String mixconfig.network.ConnectionData.m_strVisibleAddress [private] |
int mixconfig.network.ConnectionData.m_iFlags [private] |
boolean mixconfig.network.ConnectionData.m_bIsVirtual = false [private] |
boolean mixconfig.network.ConnectionData.m_bIsHidden = false [private] |