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 interfaceXmppClientToServerTransport.LookupConnectionEndpointsFailedprotected static interfaceXmppClientToServerTransport.LookupConnectionEndpointsResultprotected static interfaceXmppClientToServerTransport.LookupConnectionEndpointsSuccessstatic classXmppClientToServerTransport.Stats
-
Field Summary
Fields Modifier and Type Field Description protected ModularXmppClientToServerConnectionInternalconnectionInternal
-
Constructor Summary
Constructors Modifier Constructor Description protectedXmppClientToServerTransport(ModularXmppClientToServerConnectionInternal connectionInternal)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidafterFiltersClosed()Notify the transport that new outgoing data is available.protected abstract voiddisconnect()Called by the CloseConnection state.abstract javax.net.ssl.SSLSessiongetSslSession()abstract XmppClientToServerTransport.StatsgetStats()abstract booleanisConnected()booleanisTransportSecured()protected abstract voidloadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)protected abstract java.util.List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,java.lang.Exception>>lookupConnectionEndpoints()protected abstract voidnotifyAboutNewOutgoingElements()protected abstract voidresetDiscoveredConnectionEndpoints()
-
-
-
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()
-
-