Class SrvRemoteConnectionEndpoint

  • All Implemented Interfaces:
    org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
    Direct Known Subclasses:
    SrvXmppRemoteConnectionEndpoint, SrvXmppsRemoteConnectionEndpoint

    public abstract class SrvRemoteConnectionEndpoint
    extends java.lang.Object
    implements org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint

        org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint.InetSocketAddressCoupling<RCE extends org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.jivesoftware.smack.datatypes.UInt16 port  
      protected org.minidns.record.SRV srv  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SrvRemoteConnectionEndpoint​(org.minidns.record.SRV srv, java.util.List<? extends java.net.InetAddress> inetAddresses)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence getHost()  
      java.util.Collection<? extends java.net.InetAddress> getInetAddresses()  
      org.jivesoftware.smack.datatypes.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

        getDescription
    • Field Detail

      • srv

        protected final org.minidns.record.SRV srv
      • port

        protected final org.jivesoftware.smack.datatypes.UInt16 port
    • Constructor Detail

      • SrvRemoteConnectionEndpoint

        protected SrvRemoteConnectionEndpoint​(org.minidns.record.SRV srv,
                                              java.util.List<? extends java.net.InetAddress> inetAddresses)
    • Method Detail

      • getHost

        public final java.lang.CharSequence getHost()
        Specified by:
        getHost in interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
      • getPort

        public final org.jivesoftware.smack.datatypes.UInt16 getPort()
        Specified by:
        getPort in interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint
      • getInetAddresses

        public final java.util.Collection<? extends java.net.InetAddress> getInetAddresses()
        Specified by:
        getInetAddresses in interface org.jivesoftware.smack.util.rce.RemoteConnectionEndpoint