class Netty4PushTransporter[In, Out] extends PushTransporter[In, Out]
- Alphabetic
- By Inheritance
- Netty4PushTransporter
- PushTransporter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Netty4PushTransporter(transportInit: (ChannelPipeline) => Unit, protocolInit: (ChannelPipeline) => Unit, remoteAddress: SocketAddress, params: Params)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply[T <: PushSession[In, Out]](sessionBuilder: (PushChannelHandle[In, Out]) => Future[T]): Future[T]
Build a new connection with the
builder
function.Build a new connection with the
builder
function. The returnedFuture[T]
will not resolve until after theFuture[T]
generated bybuilder
has resolved, which is the same time which channel events will begin to happen.- Definition Classes
- Netty4PushTransporter → PushTransporter
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initSession[T <: PushSession[In, Out]](channel: Channel, protocolInit: (ChannelPipeline) => Unit, sessionBuilder: (PushChannelHandle[In, Out]) => Future[T]): Future[T]
Create a future PushSession
Create a future PushSession
Subtypes can override this behavior to add functionality such as interacting with the Netty4
Channel
.- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val remoteAddress: SocketAddress
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Netty4PushTransporter → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()