| Package | Description |
|---|---|
| com.weibo.api.motan.codec | |
| com.weibo.api.motan.protocol.rpc | |
| com.weibo.api.motan.protocol.v2motan | |
| com.weibo.api.motan.transport |
| Modifier and Type | Method and Description |
|---|---|
Object |
Codec.decode(Channel channel,
String remoteIp,
byte[] buffer) |
byte[] |
Codec.encode(Channel channel,
Object message) |
| Modifier and Type | Method and Description |
|---|---|
Object |
CompressRpcCodec.decode(Channel channel,
String remoteIp,
byte[] data)
decode data
|
Object |
DefaultRpcCodec.decode(Channel channel,
String remoteIp,
byte[] data)
decode data
|
Object |
CompressRpcCodec.decodeV2(Channel channel,
String remoteIp,
byte[] data)
decode data
|
byte[] |
CompressRpcCodec.encode(Channel channel,
Object message) |
byte[] |
DefaultRpcCodec.encode(Channel channel,
Object message) |
byte[] |
CompressRpcCodec.encodeV2(Channel channel,
Object message) |
| Modifier and Type | Method and Description |
|---|---|
Object |
MotanV2Codec.decode(Channel channel,
String remoteIp,
byte[] data)
decode data
|
byte[] |
MotanV2Codec.encode(Channel channel,
Object message) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Client
类说明
|
interface |
Endpoint
Endpoint of client or server.
|
interface |
Server |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractClient |
class |
AbstractPoolClient |
class |
AbstractServer |
class |
AbstractSharedPoolClient |
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<Channel> |
AbstractSharedPoolClient.channels |
| Modifier and Type | Method and Description |
|---|---|
protected Channel |
AbstractPoolClient.borrowObject() |
protected Channel |
AbstractSharedPoolClient.getChannel() |
Channel |
Server.getChannel(InetSocketAddress remoteAddress)
get channel.
|
Channel |
AbstractServer.getChannel(InetSocketAddress remoteAddress) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Channel> |
Server.getChannels()
get channels.
|
Collection<Channel> |
AbstractServer.getChannels() |
| Modifier and Type | Method and Description |
|---|---|
Object |
ProviderMessageRouter.handle(Channel channel,
Object message) |
Object |
MessageHandler.handle(Channel channel,
Object message) |
protected void |
AbstractPoolClient.invalidateObject(Channel nettyChannel) |
protected void |
AbstractPoolClient.returnObject(Channel channel) |
Copyright © 2019. All rights reserved.