Closed jfrux closed 11 years ago
Something like this? blah! :-/
PacketTypeFilter packetTypeFilter = new PacketTypeFilter(Session);
PacketCollector packetCollection = connection.createPacketCollector(packetTypeFilter);
if you want to manage the sid, take a look into BOSHConnection.java (variable sessionID)
Sorry if this is a no brainer.
I'm thinking I need to add a PacketListener of type SessionID?