c

org.apache.spark.network.server

AbstractAuthRpcHandler

abstract class AbstractAuthRpcHandler extends RpcHandler

RPC Handler which performs authentication, and when it's successful, delegates further calls to another RPC handler. The authentication handshake itself should be implemented by subclasses.

Linear Supertypes
RpcHandler, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractAuthRpcHandler
  2. RpcHandler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AbstractAuthRpcHandler(delegate: RpcHandler)
    Attributes
    protected[server]

Abstract Value Members

  1. abstract def doAuthChallenge(client: TransportClient, message: ByteBuffer, callback: RpcResponseCallback): Boolean

    Responds to an authentication challenge.

    Responds to an authentication challenge.

    returns

    Whether the client is authenticated.

    Attributes
    protected[server]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def channelActive(client: TransportClient): Unit

    Invoked when the channel associated with the given client is active.

    Invoked when the channel associated with the given client is active.

    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  6. def channelInactive(client: TransportClient): Unit

    Invoked when the channel associated with the given client is inactive.

    Invoked when the channel associated with the given client is inactive. No further requests will come from this client.

    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def exceptionCaught(cause: Throwable, client: TransportClient): Unit
    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getMergedBlockMetaReqHandler(): MergedBlockMetaReqHandler
    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  14. def getStreamManager(): StreamManager

    Returns the StreamManager which contains the state about which streams are currently being fetched by a TransportClient.

    Returns the StreamManager which contains the state about which streams are currently being fetched by a TransportClient.

    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def isAuthenticated(): Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def receive(client: TransportClient, message: ByteBuffer): Unit

    Receives an RPC message that does not expect a reply.

    Receives an RPC message that does not expect a reply. The default implementation will call "ByteBuffer, RpcResponseCallback)" and log a warning if any of the callback methods are called.

    client

    A channel client which enables the handler to make requests back to the sender of this RPC. This will always be the exact same object for a particular channel.

    message

    The serialized bytes of the RPC.

    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  22. final def receive(client: TransportClient, message: ByteBuffer, callback: RpcResponseCallback): Unit

    Receive a single RPC message.

    Receive a single RPC message. Any exception thrown while in this method will be sent back to the client in string form as a standard RPC failure.

    Neither this method nor #receiveStream will be called in parallel for a single TransportClient (i.e., channel).

    client

    A channel client which enables the handler to make requests back to the sender of this RPC. This will always be the exact same object for a particular channel.

    message

    The serialized bytes of the RPC.

    callback

    Callback which should be invoked exactly once upon success or failure of the RPC.

    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  23. final def receiveStream(client: TransportClient, message: ByteBuffer, callback: RpcResponseCallback): StreamCallbackWithID

    Receive a single RPC message which includes data that is to be received as a stream.

    Receive a single RPC message which includes data that is to be received as a stream. Any exception thrown while in this method will be sent back to the client in string form as a standard RPC failure.

    Neither this method nor #receive will be called in parallel for a single TransportClient (i.e., channel).

    An error while reading data from the stream (ByteBuffer)) will fail the entire channel. A failure in "post-processing" the stream in org.apache.spark.network.client.StreamCallback#onComplete(String) will result in an rpcFailure, but the channel will remain active.

    client

    A channel client which enables the handler to make requests back to the sender of this RPC. This will always be the exact same object for a particular channel.

    callback

    Callback which should be invoked exactly once upon success or failure of the RPC.

    returns

    a StreamCallback for handling the accompanying streaming data

    Definition Classes
    AbstractAuthRpcHandlerRpcHandler
    Annotations
    @Override()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RpcHandler

Inherited from AnyRef

Inherited from Any

Ungrouped