- High Performance Networking Based on Netty
- High Performance Serializing Based on Protobuf and Protostuff
- Register and Discover Services Using ZooKeeper
- HeartBeat and Reconnection
- Solve Packet Fragmentation and Assembly
- Multiplexing of Client Channel
- Integrate Spring
- Methods Called in Server ThreadPool
Interface rpc=(Interface) new RpcProxy().get("InterfaceImpl",Interface.class);
Object res=rpc.method(Object... args);
syntax = "proto2";
option java_outer_classname = "RpcProto";
message RequestMessage {
required int32 requestId = 1;
required string className = 2;
required string methodName = 3;
repeated string argTypes = 4;
optional bytes args = 5;
}
message ResponseMessage {
required int32 requestId = 1;
required bool status=2;
optional bytes result = 3;
}