Open GoogleCodeExporter opened 9 years ago
I restructured the code so that the TokenFactory class now provides the two new
static methods packetToToken and tokenToPacket. The TokenServer class now uses
this instead of its own implementation. The DataPacket class provides a
constructor with a string as argument. So this makes it easy now to convert as
string of a support format (e.g. "jWebSocket-JSON") into a Token. Before
notifying users please let's wait for our final decision regarding the
SubProtocol discussion.
Original comment by fivefeetfurther@gmail.com
on 25 Oct 2010 at 12:17
Original comment by fivefeetfurther@gmail.com
on 25 Oct 2010 at 12:17
I also added a more simple way directly in JSONProcessor (simplier than
creating a rawPacket and use it wth the ServerToken class.
I add a clear javadoc on the jsonStringToToken
Original comment by Quentin....@gmail.com
on 4 Nov 2010 at 11:32
Original issue reported on code.google.com by
Quentin....@gmail.com
on 22 Oct 2010 at 10:05