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 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(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(CharSequence host, UInt16 port, InetAddress inetAddress)
String
getDescription()
CharSequence
getHost()
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.RemoteConnectionEndpoint
getRawString
-
Methods inherited from interface org.jivesoftware.smack.util.rce.SingleAddressRemoteConnectionEndpoint
getInetAddresses
-
-
-
-
Constructor Detail
-
IpTcpRemoteConnectionEndpoint
public IpTcpRemoteConnectionEndpoint(CharSequence host, UInt16 port, IARR internetAddressResourceRecord)
-
-
Method Detail
-
from
public static IpTcpRemoteConnectionEndpoint<InternetAddressRR<?>> from(CharSequence host, UInt16 port, InetAddress inetAddress)
-
getHost
public CharSequence getHost()
- Specified by:
getHost
in interfaceRemoteConnectionEndpoint
-
getPort
public UInt16 getPort()
- Specified by:
getPort
in interfaceRemoteConnectionEndpoint
-
getInetAddress
public InetAddress getInetAddress()
- Specified by:
getInetAddress
in interfaceSingleAddressRemoteConnectionEndpoint
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceRemoteConnectionEndpoint
-
-