Package org.jivesoftware.smack.c2s
Class XmppClientToServerTransport
- java.lang.Object
-
- org.jivesoftware.smack.c2s.XmppClientToServerTransport
-
public abstract class XmppClientToServerTransport extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
XmppClientToServerTransport.LookupConnectionEndpointsFailed
protected static interface
XmppClientToServerTransport.LookupConnectionEndpointsResult
protected static interface
XmppClientToServerTransport.LookupConnectionEndpointsSuccess
static class
XmppClientToServerTransport.Stats
-
Field Summary
Fields Modifier and Type Field Description protected ModularXmppClientToServerConnectionInternal
connectionInternal
-
Constructor Summary
Constructors Modifier Constructor Description protected
XmppClientToServerTransport(ModularXmppClientToServerConnectionInternal connectionInternal)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
afterFiltersClosed()
Notify the transport that new outgoing data is available.protected abstract void
disconnect()
Called by the CloseConnection state.abstract javax.net.ssl.SSLSession
getSslSession()
abstract XmppClientToServerTransport.Stats
getStats()
abstract boolean
isConnected()
boolean
isTransportSecured()
protected abstract void
loadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)
protected abstract java.util.List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,java.lang.Exception>>
lookupConnectionEndpoints()
protected abstract void
notifyAboutNewOutgoingElements()
protected abstract void
resetDiscoveredConnectionEndpoints()
-
-
-
Field Detail
-
connectionInternal
protected final ModularXmppClientToServerConnectionInternal connectionInternal
-
-
Constructor Detail
-
XmppClientToServerTransport
protected XmppClientToServerTransport(ModularXmppClientToServerConnectionInternal connectionInternal)
-
-
Method Detail
-
resetDiscoveredConnectionEndpoints
protected abstract void resetDiscoveredConnectionEndpoints()
-
lookupConnectionEndpoints
protected abstract java.util.List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,java.lang.Exception>> lookupConnectionEndpoints()
-
loadConnectionEndpoints
protected abstract void loadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)
-
afterFiltersClosed
protected abstract void afterFiltersClosed()
Notify the transport that new outgoing data is available. Usually this method does not need to be called explicitly, only if the filters are modified so that they potentially produced new data.
-
disconnect
protected abstract void disconnect()
Called by the CloseConnection state.
-
notifyAboutNewOutgoingElements
protected abstract void notifyAboutNewOutgoingElements()
-
getSslSession
public abstract javax.net.ssl.SSLSession getSslSession()
-
isConnected
public abstract boolean isConnected()
-
isTransportSecured
public boolean isTransportSecured()
-
getStats
public abstract XmppClientToServerTransport.Stats getStats()
-
-