Package com.alipay.remoting

Interface Summary
AsyncContext Async context for biz.
BizContext basic info for biz
CommandCode Remoting command code stands for a specific remoting command, and every kind of command has its own code.
CommandDecoder Decode command.
CommandEncoder Encode command.
CommandFactory Command factory
CommandHandler Command handler.
ConnectionEventProcessor Process connection events.
ConnectionFactory Factory that creates connections.
ConnectionHeartbeatManager Connection heart beat manager, operate heart beat whether enabled for a certain connection at runtime
ConnectionManager Connection manager of connection pool
ConnectionMonitorStrategy The strategy of connection monitor
ConnectionSelectStrategy Select strategy from connection pool
CustomSerializer Define custom serializers for command header and content.
HeartbeatTrigger Heartbeat triggers here.
InvokeCallback Invoke callback.
InvokeCallbackListener Listener to listen response and invoke callback.
InvokeFuture The future of an invocation.
Protocol A protocol contains a group of commands.
RemotingAddressParser Remoting address parser Implement this to generate a Url
RemotingCommand Remoting command.
RemotingProcessor<T extends RemotingCommand> Remoting processor processes remoting commands.
Scannable Can be scanned.
 

Class Summary
AbstractRemotingProcessor<T extends RemotingCommand> Processor to process remoting command.
BaseRemoting Base remoting capability.
Configs Configuration items.
Connection An abstraction of socket channel.
ConnectionEventHandler Log the channel status event.
ConnectionEventListener Listen and dispatch connection events.
ConnectionPool Connection pool
CustomSerializerManager Manage the custom serializer according to the class name.
DefaultBizContext default biz context
DefaultConnectionManager Abstract implementation of connection manager
DefaultConnectionMonitor A default connection monitor that handle connections with strategies
DefaultCustomSerializer The default custom serializer, which does nothing.
InvokeContext Invoke context
NamedThreadFactory Thread factory to name the thread purposely
ProcessorManager Manager of processors
Maintains the relationship between command and command processor through command code.
ProtocolCode Protocol code definition, you can define your own protocol code in byte array ProtocolCode.version We suggest to use just one byte for simplicity.
ProtocolManager Manager of all protocols
RandomSelectStrategy Select a connection randomly
ReconnectManager Reconnect manager.
RemotingContext Wrap the ChannelHandlerContext.
RemotingServer Server template for remoting.
ScheduledDisconnectStrategy An implemented strategy to monitor connections: each time scheduled, filter connections with Configs.CONN_SERVICE_STATUS_OFF at first.
ServerIdleHandler Server Idle handler.
SystemProperties get configs from system properties
TimerHolder A singleton holder of the timer for timeout.
Url URL definition.
 

Enum Summary
CommonCommandCode The common command code, especially for heart beat command.
ConnectionEventType Event triggered by connection state.
ResponseStatus Status of the response.
 



Copyright © 2018. All rights reserved.