.password("pass").connectionKey("Zombie_ROOM_1_REF_KEY_1")
.jetserverTcpHostName("localhost").tcpPort(18090)
.jetserverUdpHostName("255.255.255.255").udpPort(18090);
LoginHelper loginHelper = builder.build();
SessionFactory sessionFactory = new SessionFactory(loginHelper);
Session session = sessionFactory.createAndConnectSession();
AbstractSessionEventHandler handler = new AbstractSessionEventHandler(
session)
{
@Override
public void onDataIn(Event event)
{
System.out.println("Received event: " + event);
}
};
session.addHandler(handler);
}