Class

stark.rpc.internal

NettyRpcClientImpl

Related Doc: package internal

Permalink

class NettyRpcClientImpl extends RpcClient with NettyProtobufPipelineSupport with ProtobufCommandHelper with ServiceWaitingInitSupport with LoggerSupport

implements rpc client using netty framework

Linear Supertypes
LoggerSupport, ServiceWaitingInitSupport, ProtobufCommandHelper, NettyProtobufPipelineSupport, RpcClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NettyRpcClientImpl
  2. LoggerSupport
  3. ServiceWaitingInitSupport
  4. ProtobufCommandHelper
  5. NettyProtobufPipelineSupport
  6. RpcClient
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NettyRpcClientImpl(handler: RpcClientMessageHandler, registry: ExtensionRegistry, rpcServerFinder: RpcServerFinder)

    Permalink

Type Members

  1. class ProtobufDecoderWithSnappy extends OneToOneDecoder

    Permalink
    Definition Classes
    NettyProtobufPipelineSupport
    Annotations
    @Sharable()
  2. class ProtobufEncoderWithSnappy extends OneToOneEncoder

    Permalink
    Definition Classes
    NettyProtobufPipelineSupport

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def InitPipeline(pipeline: ChannelPipeline, maxBuffer: Int = MAX_FRAME_LENGTH): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    NettyProtobufPipelineSupport
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def awaitServiceInit(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  7. def awaitServiceInit(time: Long, unit: TimeUnit): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def debug(message: String, args: Any*): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def error(message: String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  13. def error(message: String, args: Any*): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  14. def extentionRegistry: ExtensionRegistry

    Permalink
    Attributes
    protected
    Definition Classes
    NettyRpcClientImplNettyProtobufPipelineSupport
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def info(message: String, args: Any*): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def serviceInitialized(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  25. def shutdown(): Unit

    Permalink

    服务关闭

  26. def start(shutdownHub: RegistryShutdownHub): Unit

    Permalink

    启动服务

    启动服务

    Annotations
    @PostInjection()
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def throwExceptionIfServiceInitialized(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def warn(message: String, args: Any*): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  34. def wrap[T](taskId: Long, extension: GeneratedExtension[BaseCommand, T], value: T): BaseCommand

    Permalink
    Definition Classes
    ProtobufCommandHelper
  35. def wrap[T](extension: GeneratedExtension[BaseCommand, T], value: T): BaseCommand

    Permalink
    Definition Classes
    ProtobufCommandHelper
  36. def writeMessage(serverPath: String, message: BaseCommand): Option[ChannelFuture]

    Permalink

    send message to remote server

    send message to remote server

    serverPath

    server path in cloud

    message

    message will be sent

    returns

    send result future

    Definition Classes
    NettyRpcClientImplRpcClient
  37. def writeMessage[T](serverPath: String, extension: GeneratedExtension[BaseCommand, T], value: T): Option[ChannelFuture]

    Permalink
    Definition Classes
    NettyRpcClientImplRpcClient
  38. def writeMessageToMultiServer[T, R](serverPathPrefix: String, rpcMerger: RpcClientMerger[R], extension: GeneratedExtension[BaseCommand, T], value: T): InternalRequestMerger[R]

    Permalink
    Definition Classes
    NettyRpcClientImplRpcClient
  39. def writeMessageWithBlocking[T](serverPath: String, extension: GeneratedExtension[BaseCommand, T], value: T): Future[BaseCommand]

    Permalink
    Definition Classes
    NettyRpcClientImplRpcClient
  40. def writeMessageWithChannel(channel: Channel, message: BaseCommand): Option[ChannelFuture]

    Permalink
    Definition Classes
    NettyRpcClientImplRpcClient
  41. def writeMessageWithChannel[T](channel: Channel, extension: GeneratedExtension[BaseCommand, T], value: T): Option[ChannelFuture]

    Permalink
    Definition Classes
    NettyRpcClientImplRpcClient

Inherited from LoggerSupport

Inherited from ServiceWaitingInitSupport

Inherited from ProtobufCommandHelper

Inherited from RpcClient

Inherited from AnyRef

Inherited from Any

Ungrouped