Uses of Interface
com.sportradar.livedata.sdk.common.networking.Gateway
-
Packages that use Gateway Package Description com.sportradar.livedata.sdk.common.networking com.sportradar.livedata.sdk.di This package should only contain classes associated with IOC container used to build the dependency tree.com.sportradar.livedata.sdk.proto Contains classes and interfaces which are shared between different protocols.com.sportradar.livedata.sdk.proto.common -
-
Uses of Gateway in com.sportradar.livedata.sdk.common.networking
Classes in com.sportradar.livedata.sdk.common.networking that implement Gateway Modifier and Type Class Description class
ConnectionMonitoringGateway
AGateway
implementation which observes the received messages to determine when the connection is unstableclass
ReconnectingGateway
AGateway
which periodically attempts to connect to the server until the connection is establishedclass
TcpGateway
AGateway
implementation which uses TCP protocol stack to communicate.Constructors in com.sportradar.livedata.sdk.common.networking with parameters of type Gateway Constructor Description ConnectionMonitoringGateway(Gateway actualGateway, Timer monitorTimer, org.joda.time.Duration checkInterval, org.joda.time.Duration noActivityTimeout, boolean debugMode)
Initializes a new instance of theConnectionMonitoringGateway
class.ReconnectingGateway(Gateway actualGateway, Timer connectTimer, org.joda.time.Duration initialReconnectDelay, org.joda.time.Duration reconnectInterval)
Initializes a new instance of theReconnectingGateway
class. -
Uses of Gateway in com.sportradar.livedata.sdk.di
Methods in com.sportradar.livedata.sdk.di that return Gateway Modifier and Type Method Description protected Gateway
LiveScoutInjectionModule. provideGateway(ExecutorService executorService, ScheduledExecutorService scheduledExecutorService, org.apache.commons.net.DefaultSocketFactory socketFactory, SSLSocketFactory sslSocketFactory)
Methods in com.sportradar.livedata.sdk.di with parameters of type Gateway Modifier and Type Method Description protected Protocol<IncomingMessage,OutgoingMessage>
LiveScoutInjectionModule. provideProtocol(LiveScoutStatusFactory statusFactory, ScheduledExecutorService scheduledExecutorService, Gateway gateway)
-
Uses of Gateway in com.sportradar.livedata.sdk.proto
Constructors in com.sportradar.livedata.sdk.proto with parameters of type Gateway Constructor Description LiveFeedProtocol(Gateway gateway, MessageParser<IncomingMessage> messageParser, MessageWriter<OutgoingMessage> messageWriter, RateLimiter rateLimiter, OutgoingMessageInspector<OutgoingMessage> outgoingMessageInspector, StatusFactory statusFactory, LiveFeedSettings settings)
Initializes a new instance of theLiveFeedProtocol
class. -
Uses of Gateway in com.sportradar.livedata.sdk.proto.common
Fields in com.sportradar.livedata.sdk.proto.common declared as Gateway Modifier and Type Field Description protected Gateway
ProtocolBase. gateway
TheGateway
implementation used to establish a connection to the server.Constructors in com.sportradar.livedata.sdk.proto.common with parameters of type Gateway Constructor Description ProtocolBase(Gateway gateway, MessageParser<I> messageParser)
Initializes a new instance of theProtocolBase
class.
-