Package org.jivesoftware.smack.c2s
Class XmppClientToServerTransport
- java.lang.Object
-
- org.jivesoftware.smack.c2s.XmppClientToServerTransport
-
- Direct Known Subclasses:
XmppWebSocketTransportModule.XmppWebSocketTransport
public abstract class XmppClientToServerTransport extends 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 SSLSessiongetSslSession()abstract XmppClientToServerTransport.StatsgetStats()abstract StreamOpenAndCloseFactorygetStreamOpenAndCloseFactory()abstract booleanhasUseableConnectionEndpoints()booleanisTransportSecured()protected abstract voidloadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)protected abstract List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,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 List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,Exception>> lookupConnectionEndpoints()
-
loadConnectionEndpoints
protected abstract void loadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)
-
hasUseableConnectionEndpoints
public abstract boolean hasUseableConnectionEndpoints()
-
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 SSLSession getSslSession()
-
isTransportSecured
public boolean isTransportSecured()
-
getStreamOpenAndCloseFactory
public abstract StreamOpenAndCloseFactory getStreamOpenAndCloseFactory()
-
getStats
public abstract XmppClientToServerTransport.Stats getStats()
-
-