@@ -0,0 +1,1039 @@
+package com.github.noxan.aves.demo;%0A%0Aimport java.io.IOException;%0A%0Aimport com.github.noxan.aves.client.ClientHandler;%0Aimport com.github.noxan.aves.client.SocketClient;%0A%0Apublic class DemoClient implements ClientHandler %7B%0A    public static void main(String%5B%5D args) %7B%0A        SocketClient client = new SocketClient(new DemoClient());%0A        try %7B%0A            client.connect();%0A            client.write(%22Hello, this is client!%5Cn%22);%0A        %7D catch(IOException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A    @Override%0A    public void clientConnect() %7B%0A        System.out.println(%22Client connect%22);%0A    %7D%0A%0A    @Override%0A    public void clientDisconnect() %7B%0A        System.out.println(%22Client disconnect%22);%0A    %7D%0A%0A    @Override%0A    public void readData(Object data) %7B%0A        System.out.println(%22Client readData: %22 + data);%0A    %7D%0A%0A    @Override%0A    public void serverDisconnect() %7B%0A        System.out.println(%22Server disconnect%22);%0A    %7D%0A%0A    @Override%0A    public void serverLost() %7B%0A        System.out.println(%22Server lost%22);%0A    %7D%0A%7D%0A

create simple demo client