private static JFrame frame = new JFrame("HelloWorldSwing");
private static SimplePushClient client;
private static UnifiedPushClient unifiedPushClient;
public static void main(String... args) {
unifiedPushClient = new UnifiedPushClient("http://localhost:8080/ag-push/rest/registry/device",
"4f766e2c-b4da-42f5-8bfb-d7adc4030939", "c9af3659-e7ce-4861-bcde-22b4b8b29492");
client = new SimplePushClient("ws://localhost:7777/simplepush/websocket");
client.connect();
client.register(new RegistrationListener() {