Package org.jivesoftware.smack.websocket
Class XmppWebSocketTransportModule.XmppWebSocketTransport
- java.lang.Object
-
- org.jivesoftware.smack.c2s.XmppClientToServerTransport
-
- org.jivesoftware.smack.websocket.XmppWebSocketTransportModule.XmppWebSocketTransport
-
- Enclosing class:
- XmppWebSocketTransportModule
public final class XmppWebSocketTransportModule.XmppWebSocketTransport extends XmppClientToServerTransport
Transport class forModularXmppClientToServerConnectionModule's websocket implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classXmppWebSocketTransportModule.XmppWebSocketTransport.DiscoveredWebSocketEndpointsContainsWebSocketRemoteConnectionEndpointLookup.Resultfor successfully discovered endpoints.-
Nested classes/interfaces inherited from class org.jivesoftware.smack.c2s.XmppClientToServerTransport
XmppClientToServerTransport.LookupConnectionEndpointsFailed, XmppClientToServerTransport.LookupConnectionEndpointsResult, XmppClientToServerTransport.LookupConnectionEndpointsSuccess, XmppClientToServerTransport.Stats
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.c2s.XmppClientToServerTransport
connectionInternal
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterFiltersClosed()Notify the transport that new outgoing data is available.protected voiddisconnect()Called by the CloseConnection state.SSLSessiongetSslSession()XmppClientToServerTransport.StatsgetStats()StreamOpenAndCloseFactorygetStreamOpenAndCloseFactory()booleanhasUseableConnectionEndpoints()booleanisTransportSecured()protected voidloadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)protected List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,Exception>>lookupConnectionEndpoints()protected voidnotifyAboutNewOutgoingElements()protected voidresetDiscoveredConnectionEndpoints()
-
-
-
Method Detail
-
resetDiscoveredConnectionEndpoints
protected void resetDiscoveredConnectionEndpoints()
- Specified by:
resetDiscoveredConnectionEndpointsin classXmppClientToServerTransport
-
hasUseableConnectionEndpoints
public boolean hasUseableConnectionEndpoints()
- Specified by:
hasUseableConnectionEndpointsin classXmppClientToServerTransport
-
lookupConnectionEndpoints
protected List<SmackFuture<XmppClientToServerTransport.LookupConnectionEndpointsResult,Exception>> lookupConnectionEndpoints()
- Specified by:
lookupConnectionEndpointsin classXmppClientToServerTransport
-
loadConnectionEndpoints
protected void loadConnectionEndpoints(XmppClientToServerTransport.LookupConnectionEndpointsSuccess lookupConnectionEndpointsSuccess)
- Specified by:
loadConnectionEndpointsin classXmppClientToServerTransport
-
afterFiltersClosed
protected void afterFiltersClosed()
Description copied from class:XmppClientToServerTransportNotify 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.- Specified by:
afterFiltersClosedin classXmppClientToServerTransport
-
disconnect
protected void disconnect()
Description copied from class:XmppClientToServerTransportCalled by the CloseConnection state.- Specified by:
disconnectin classXmppClientToServerTransport
-
notifyAboutNewOutgoingElements
protected void notifyAboutNewOutgoingElements()
- Specified by:
notifyAboutNewOutgoingElementsin classXmppClientToServerTransport
-
getSslSession
public SSLSession getSslSession()
- Specified by:
getSslSessionin classXmppClientToServerTransport
-
isTransportSecured
public boolean isTransportSecured()
- Overrides:
isTransportSecuredin classXmppClientToServerTransport
-
getStats
public XmppClientToServerTransport.Stats getStats()
- Specified by:
getStatsin classXmppClientToServerTransport
-
getStreamOpenAndCloseFactory
public StreamOpenAndCloseFactory getStreamOpenAndCloseFactory()
- Specified by:
getStreamOpenAndCloseFactoryin classXmppClientToServerTransport
-
-