trait ClientConnection extends AnyRef
Trait used by the clients to interact with the transport.
- Alphabetic
- By Inheritance
- ClientConnection
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
getPeerExecutorId: Long
Get a long representing the executorId for the peer of this connection.
Get a long representing the executorId for the peer of this connection.
- returns
the executorId as a long
-
abstract
def
registerReceiveHandler(messageType: MessageType.Value): Unit
Register interest in messages of
messageType.Register interest in messages of
messageType.- Note
Currently
MessageType.Bufferis the only supported message type.
-
abstract
def
request(messageType: MessageType.Value, request: ByteBuffer, cb: TransactionCallback): Transaction
This performs a request/response for a message of type
MessageType.This performs a request/response for a message of type
MessageType. The responseTransactionon completion will call the callback (cb). The caller ofrequestmust close, or consume the response in the transaction, otherwise we can leak.- messageType
value of the
MessageTypeenum- request
the populated request direct buffer
ByteBuffer- cb
callback to handle transaction status. If successful the memory described using "response" will hold the response as expected, otherwise its contents are not defined.
- returns
a transaction representing the request
Concrete 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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )