Package org.jivesoftware.smack.tcp.rce
Class IpTcpRemoteConnectionEndpoint<IARR extends InternetAddressRR<?>>
- java.lang.Object
-
- org.jivesoftware.smack.tcp.rce.IpTcpRemoteConnectionEndpoint<IARR>
-
- All Implemented Interfaces:
Rfc6120TcpRemoteConnectionEndpoint
,RemoteConnectionEndpoint
,SingleAddressRemoteConnectionEndpoint
public final class IpTcpRemoteConnectionEndpoint<IARR extends InternetAddressRR<?>> extends java.lang.Object implements Rfc6120TcpRemoteConnectionEndpoint, SingleAddressRemoteConnectionEndpoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
RemoteConnectionEndpoint.InetSocketAddressCoupling<RCE extends RemoteConnectionEndpoint>
-
-
Constructor Summary
Constructors Constructor Description IpTcpRemoteConnectionEndpoint(java.lang.CharSequence host, UInt16 port, IARR internetAddressResourceRecord)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpTcpRemoteConnectionEndpoint<InternetAddressRR<?>>
from(java.lang.CharSequence host, UInt16 port, java.net.InetAddress inetAddress)
java.lang.String
getDescription()
java.lang.CharSequence
getHost()
java.net.InetAddress
getInetAddress()
UInt16
getPort()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.util.rce.SingleAddressRemoteConnectionEndpoint
getInetAddresses
-
-
-
-
Constructor Detail
-
IpTcpRemoteConnectionEndpoint
public IpTcpRemoteConnectionEndpoint(java.lang.CharSequence host, UInt16 port, IARR internetAddressResourceRecord)
-
-
Method Detail
-
from
public static IpTcpRemoteConnectionEndpoint<InternetAddressRR<?>> from(java.lang.CharSequence host, UInt16 port, java.net.InetAddress inetAddress)
-
getHost
public java.lang.CharSequence getHost()
- Specified by:
getHost
in interfaceRemoteConnectionEndpoint
-
getPort
public UInt16 getPort()
- Specified by:
getPort
in interfaceRemoteConnectionEndpoint
-
getInetAddress
public java.net.InetAddress getInetAddress()
- Specified by:
getInetAddress
in interfaceSingleAddressRemoteConnectionEndpoint
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceRemoteConnectionEndpoint
-
-