java - What is wrong with my MINA message? Going over a NioSocketConnector and failing, causing MINA to stop -
i have niosocketconnector
, , have gotten iosession
. can write test messages ("abcdef"
, "|"
, "(asdfb)"
, "1234567890"
, etc.) "real" messages error , cause connection shut down (literally, session closes).
my "real" message: 05082013113112272|123.123.123.0|0.0.0.0|abc|21|agg=1=29=299|3e8c288afe77ae0f2ae8d2549f90156
i can following through:
2013111211781|123.123.123.0|0.0.0.0|abc|21|agg=1=29=299|3e8c288afe77ae0f2ae8d2549f90156
2013|05082013111211781|123.123.123.0|0.0.0.0|abc|21|agg=1=29=299|3e8c288afe77ae0f2ae8d2549f90156
//05082013121502688|123.123.123.0|0.0.0.0|agg=1=2=23|5ca5905b75c6643bddb64be055c3f236
20130501202445
(but not2013050**8**1202445
)
i'm using utf-8. appears i'm hitting kind of length issue--or kind of magical string scan. since i'm starting numbers, there trigger data binary , fails checksum? please me out? don't understand i'm hitting.
this caused issue. strings had nothing closing of connection.
Comments
Post a Comment