class cMsg.ParsedUDL
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
cloud
Manner in which to failover to a cloud.
|
(package private) int |
domainServerTcpPort
Name server's domain server TCP port.
|
(package private) int |
failover
Manner in which to failover.
|
(package private) boolean |
local
Is this client connected to a local server?
|
(package private) int |
multicastTimeout
Timeout in milliseconds to wait for server to respond to multicasts.
|
(package private) boolean |
mustMulticast
True if the host given by the UDL is \"multicast\"
or the string
cMsgNetworkConstants.cMsgMulticast . |
(package private) java.lang.String |
nameServerHost
Name server's host.
|
(package private) int |
nameServerTcpPort
Name server's TCP port.
|
(package private) int |
nameServerUdpPort
Name server's UDP port.
|
(package private) java.lang.String |
password
Optional password included in UDL for connection to server requiring one.
|
(package private) java.lang.String |
preferredSubnet
Optional preferred subnet.
|
(package private) int |
regime
What throughput do we expect from this client? Values may be one of:
cMsgConstants.regimeHigh , cMsgConstants.regimeMedium ,
cMsgConstants.regimeLow . |
(package private) java.lang.String |
serverName |
(package private) java.lang.String |
subdomain
Subdomain being used.
|
(package private) java.lang.String |
subRemainder
Subdomain remainder part of the UDL.
|
(package private) java.lang.String |
UDL
The Uniform Domain Locator which tells the location of a domain.
|
(package private) java.lang.String |
UDLremainder
String containing the remainder part of the UDL.
|
Constructor and Description |
---|
ParsedUDL(java.lang.String name,
java.lang.String pswrd,
java.lang.String host,
int tcpPort,
int udpPort,
boolean isLocal)
Constructor for storing info about cloud server and used in
failing over to cloud server.
|
ParsedUDL(java.lang.String s1,
java.lang.String s2,
java.lang.String s3,
java.lang.String s4,
java.lang.String s5,
java.lang.String s6,
java.lang.String s7,
int i1,
int i2,
int i3,
int i4,
int i5,
int i6,
int i7,
boolean b1,
boolean b2)
Constructor used in parsing UDL.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Take all of this object's parameters and copy to this client's members.
|
java.lang.String serverName
java.lang.String UDL
java.lang.String UDLremainder
java.lang.String subdomain
java.lang.String subRemainder
java.lang.String password
java.lang.String preferredSubnet
java.lang.String nameServerHost
int nameServerTcpPort
int domainServerTcpPort
int nameServerUdpPort
int multicastTimeout
int regime
cMsgConstants.regimeHigh
, cMsgConstants.regimeMedium
,
cMsgConstants.regimeLow
.int failover
cMsgConstants.failoverAny
if
failover of client can go to any of the UDLs given in cMsg.connect()
(default).
Set to cMsgConstants.failoverCloud
if failover of client will go to
servers in the cloud first, and if none are available, then go to any of
the UDLs given in connect. Set to cMsgConstants.failoverCloudOnly
if failover of client will only go to servers in the cloud.int cloud
cMsgConstants.cloudAny
if failover of client to a server in the cloud will go to any of the cloud servers
(default). Set to cMsgConstants.cloudLocal
if failover of client to a server
in the cloud will go to a local cloud server first before others are considered.boolean mustMulticast
cMsgNetworkConstants.cMsgMulticast
.
In this case we must multicast to find the server, else false.boolean local
ParsedUDL(java.lang.String name, java.lang.String pswrd, java.lang.String host, int tcpPort, int udpPort, boolean isLocal)
name
- name of cloud server (host:port)pswrd
- password to connect to cloud serverhost
- host cloud server is running ontcpPort
- TCP port cloud server is listening onudpPort
- UDP multicasting port cloud server is listening onisLocal
- is cloud server running on localhostParsedUDL(java.lang.String s1, java.lang.String s2, java.lang.String s3, java.lang.String s4, java.lang.String s5, java.lang.String s6, java.lang.String s7, int i1, int i2, int i3, int i4, int i5, int i6, int i7, boolean b1, boolean b2)
s1
- UDLs2
- UDLremainders3
- subdomains4
- subRemainders5
- passwords6
- nameServerHosts7
- preferredSubneti1
- nameServerTcpPorti2
- domainServerTcpPorti3
- nameServerUdpPorti4
- multicastTimeouti5
- regimei6
- failoveri7
- cloudb1
- mustMulticastb2
- local