java.lang.Object
com.sun.xml.ws.transport.tcp.util.WSTCPURI
- All Implemented Interfaces:
ContactInfo<ConnectionSession>
- Author:
- Alexey Stashok
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classClass is used to translate WSTCPURI to String and vice versa This is used in JAXB serialization/deserialization -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new Connection from this ContactInfo.booleanintGet custom TCP port, where connection should be establishedintgetParameter(String name) inthashCode()static WSTCPURIstatic WSTCPURIvoidsetCustomPort(int customPort) Set custom TCP port, where connection should be establishedtoString()
-
Field Details
-
host
-
port
public int port -
path
-
customPort
public int customPort
-
-
Constructor Details
-
WSTCPURI
public WSTCPURI()This constructor should be used just by JAXB runtime
-
-
Method Details
-
getParameter
-
parse
-
parse
-
getCustomPort
public int getCustomPort()Get custom TCP port, where connection should be established- Returns:
- custom TCP port
-
setCustomPort
public void setCustomPort(int customPort) Set custom TCP port, where connection should be established- Parameters:
customPort- custom TCP port
-
getEffectivePort
public int getEffectivePort() -
toString
-
equals
-
hashCode
public int hashCode() -
createConnection
Description copied from interface:ContactInfoCreate a new Connection from this ContactInfo. Throws an IOException if Connection creation fails.- Specified by:
createConnectionin interfaceContactInfo<ConnectionSession>- Throws:
IOException
-