@@ -0,0 +1,1364 @@
+package org.freeswitch.esl.client;%0A%0Aimport com.google.common.base.Throwables;%0Aimport org.freeswitch.esl.client.inbound.Client;%0Aimport org.freeswitch.esl.client.inbound.IEslEventListener;%0Aimport org.freeswitch.esl.client.internal.Context;%0Aimport org.freeswitch.esl.client.internal.IModEslApi;%0Aimport org.freeswitch.esl.client.transport.event.EslEvent;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport java.net.InetSocketAddress;%0A%0Apublic class ClientExample %7B%0A    private static final Logger L = LoggerFactory.getLogger(ClientExample.class);%0A%0A    public static void main(String%5B%5D args) %7B%0A        try %7B%0A            if (args.length %3C 1) %7B%0A                System.out.println(%22Usage: java ClientExample PASSWORD%22);%0A                return;%0A            %7D%0A%0A            String password = args%5B0%5D;%0A%0A            Client client = new Client();%0A%0A            client.addEventListener(new IEslEventListener() %7B%0A%0A                @Override%0A                public void onEslEvent(Context ctx, EslEvent event) %7B%0A                    L.info(%22Received event: %7B%7D%22, event.getEventName());%0A                %7D%0A            %7D);%0A%0A            client.connect(new InetSocketAddress(%22localhost%22, 8021), password, 10);%0A            client.setEventSubscriptions(IModEslApi.EventFormat.PLAIN, %22all%22);%0A%0A        %7D catch (Throwable t) %7B%0A            Throwables.propagate(t);%0A        %7D%0A    %7D%0A%7D%0A

Add ClientExample class