public class ProtocolAddressHolder extends ServerAddressHolder
ServerAddress with a protocol, as we do not want to have setters there.| Modifier and Type | Field and Description |
|---|---|
private String |
netmask |
private String |
protocol |
| Constructor and Description |
|---|
ProtocolAddressHolder()
Creates an instance (deserialization).
|
ProtocolAddressHolder(de.iip_ecosphere.platform.support.Schema schema,
String host,
int port,
String protocol)
Creates an instance.
|
ProtocolAddressHolder(de.iip_ecosphere.platform.support.ServerAddress address,
String protocol)
Creates an instance from a given instance (serialization).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNetmask()
Returns the netmask/network Java regex.
|
String |
getProtocol()
Returns the endpoint name/path.
|
void |
setNetmask(String netmask)
Defines the netmask/network Java regex.
|
void |
setProtocol(String protocol)
Defines the protocol name.
|
getHost, getPort, getSchema, getServerAddress, setHost, setPort, setSchemapublic ProtocolAddressHolder()
public ProtocolAddressHolder(de.iip_ecosphere.platform.support.Schema schema,
String host,
int port,
String protocol)
schema - the schemahost - the host nameport - the portprotocol - a name denoting the protocolpublic ProtocolAddressHolder(de.iip_ecosphere.platform.support.ServerAddress address,
String protocol)
address - the instance to take data fromprotocol - the protocolpublic String getProtocol()
public void setProtocol(String protocol)
protocol - the protocol namepublic String getNetmask()
public void setNetmask(String netmask)
netmask - the netmaskCopyright © 2021. All rights reserved.