-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
42 lines (28 loc) · 1.85 KB
/
README
File metadata and controls
42 lines (28 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
abstract
--------
prototype work to integrate an avro protocol handler to netty.
note: both the avro and netty clients work with the netty server
contents
--------
avro mail client/server
# server
% java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.avro.Server
# client
% java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.avro.Client 9090 to-tammy from-james message-rocks
netty client/server
# server
% java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.netty.avro.endpoint.Server
# client
% java -classpath ./libs/avro-1.3.0.jar:./libs/avro-tools-1.3.0.jar:./libs/jackson-mapper-asl-1.4.0.jar:./libs/jackson-core-asl-1.4.0.jar:./libs/netty-3.1.5.GA.jar:./libs/protobuf-java-2.2.0.jar:./libs/slf4j-api-1.5.8.jar:./libs/slf4j-simple-1.5.8.jar:out/production/Netty-avro prototype.netty.avro.endpoint.Client localhost 9091 America/New_York Asia/Seoul
todo
----
move ByteBuffer accumulation down to client/server handler
refactor avro client
add post-handshake responder/reflector delegate instantiators
netty could likely be used for more lower level networking
misc
----
attributions
------------
avro rpc quickstart
netty "local time" example code