Skip to content

Commit

Permalink
Annotating DefaultLightStreamerConnection.kt with @Inject for #56
Browse files Browse the repository at this point in the history
  • Loading branch information
VahidGarousi committed Mar 17, 2023
1 parent 755e9eb commit 31624ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import com.lightstreamer.client.Subscription
import com.lightstreamer.client.SubscriptionListener
import garousi.dev.lightstreamer.listeners.EmptyClientListener
import garousi.dev.lightstreamer.models.SubscriptionMode
import javax.inject.Inject

class DefaultLightStreamerConnection : LightStreamerConnection {
class DefaultLightStreamerConnection @Inject constructor() : LightStreamerConnection {
override var lsClient: LightstreamerClient? = null
override var subscription: Subscription? = null
override var subscriptionListener: SubscriptionListener? = null
Expand Down

0 comments on commit 31624ac

Please sign in to comment.