xsocket-develop Mailing List for xsocket (Page 2)
Status: Inactive
Brought to you by:
grro
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(12) |
Oct
(9) |
Nov
(11) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(8) |
Feb
(9) |
Mar
(9) |
Apr
(22) |
May
(28) |
Jun
(17) |
Jul
(10) |
Aug
(19) |
Sep
(4) |
Oct
(14) |
Nov
(26) |
Dec
(25) |
| 2009 |
Jan
(13) |
Feb
(17) |
Mar
(12) |
Apr
(4) |
May
(16) |
Jun
(6) |
Jul
(10) |
Aug
(24) |
Sep
(6) |
Oct
(5) |
Nov
(13) |
Dec
(10) |
| 2010 |
Jan
(17) |
Feb
(21) |
Mar
(10) |
Apr
(8) |
May
(2) |
Jun
(14) |
Jul
(7) |
Aug
(10) |
Sep
(7) |
Oct
(3) |
Nov
|
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(5) |
Mar
(1) |
Apr
|
May
(5) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: Johnny <ca...@16...> - 2011-01-10 05:24:40
|
Dear manager, I'm a javaer for many years from china, interested in socket network developping, so apply to join maillist, please approve me join , thanks. |
|
From: Christiaan W. <cwi...@te...> - 2010-12-23 18:29:02
|
I've build a fairly complex system using Xsocket using a nonblockingconnection. This works for the most part. But sometimes, I get strange results. It seems like connections het mixed up. I get calls to onConnect with closed connections, as if these are old. a call to getRemoteAddress() return null in that case. The big problem is that I can't reproduce this... It just happens suddenly, and keeps on gooing on until all connections are disfunctional. Any idea? Kind regards, Christiaan Willemsen |
|
From: Rob W. <rw...@ma...> - 2010-12-17 19:38:11
|
USING SSL Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoProvider <clinit> FINE: org.xsocket.connection.IoProvider initialized (countDispatcher=null maxHandles=null detachHandleOnNoOps=false client: directMemory=false preallocation=true preallocationSize=65 kb minBufferSize=64 bytes & server: directMemory=false preallocation=true preallocationSize=65 kb minBufferSize=64 bytes) Dec 17, 2010 1:11:17 PM org.xsocket.connection.NonBlockingConnection <clinit> FINE: non blocking connection send time out set with 1 min Dec 17, 2010 1:11:17 PM org.xsocket.connection.ConnectionManager updateTimeoutCheckPeriod FINE: update watchdog period 1 min Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoConnector run FINE: selector xConnector#default listening ... Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoConnector updateTimeoutCheckPeriod FINE: update watchdog period 4 d Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoSocketDispatcher run FINE: selector xDispatcherClientGlb#0 listening ... Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoSocketDispatcher run FINE: selector xDispatcherClientGlb#1 listening ... Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoSocketDispatcher run FINE: selector xDispatcherClientGlb#2 listening ... Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoSocketDispatcher run FINE: selector xDispatcherClientGlb#3 listening ... Dec 17, 2010 1:11:17 PM org.xsocket.connection.IoSocketDispatcher run FINE: selector xDispatcherClientGlb#4 listening ... Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor <init> FINE: initializing ssl processor (client mode) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor <init> FINE: app buffer size is 16660 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor <init> FINE: packet buffer size is 16665 Dec 17, 2010 1:11:18 PM org.xsocket.connection.ConnectionManager register FINE: connection registered Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor start FINE: calling sslEngine beginHandshake and calling encncrypt to initiate handeshake (client mode) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher$RegisterTask run FINE: registering handler ebad72a612cf5875bb81e18916C1 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher registerHandlerNow FINE: ebad72a612cf5875bb81e18916C1 registered (ops=OP_READ (1)) Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing ssl system message (size 103) created by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (103) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler startSSL FINE: [ebad72a612cf5875bb81e18916C1] waiting until ssl handeshake has been finished Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (103 bytes): 80 65 01 03 01 00 3c 00 00 00 20 00 00 04 01 00 80 00 00 05 00 00 2f 00 00 33 00 00 32 00 00 0a 07 00 c0 00 00 16 00 00 13 00 00 09 06 00 40 00 00 15 00 00 12 00 00 03 02 00 80 00 00 08 00 00 14 00 00 11 00 00 ff 4d 0b a7 c6 f4 be d2 20 a8 b0 e8 46 e4 a5 6a dd 02 59 5f 4c b8 4f ba c4 c7 a1 af 30 63 91 4f 26 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (103 bytes) Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 65 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoUnsynchronizedMemoryManager recycleMemory FINE: recycling 62 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler readSocket FINE: [ebad72a612cf5875bb81e18916C1] received (2855 bytes, total 5710 bytes): 16 03 01 0b 22 02 00 00 46 03 01 4d 0b a1 df 43 62 1b 24 95 8c f8 84 84 2d b8 16 a4 01 85 87 f5 d3 0f cd eb 85 78 41 4d 6c 35 6f 20 4d 0b a1 df b8 78 9e 8d 71 01 b5 5c 82 3f d1 eb 44 69 5c f3 60 39 4b 13 41 af 79 a3 cb 8e df d8 00 04 00 0b 00 0a d0 00 0a cd 00 04 fd 30 82 04 f9 30 82 04 62 a0 03 02 01 02 02 10 24 68 28 4f 05 06 33 8d 67 77 a3 1c 36 56 52 a0 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 81 ba 31 1f 30 1d 06 03 55 04 0a 13 16 56 65 72 69 53 69 67 6e 20 54 72 75 73 74 20 4e 65 74 77 6f 72 6b 31 17 30 15 06 03 55 04 0b 13 0e 56 65 72 69 53 69 67 6e 2c 20 49 6e 63 2e 31 33 30 31 06 03 55 04 0b 13 2a 56 65 72 69 53 69 67 6e 20 49 6e 74 65 72 6e 61 74 69 6f 6e 61 6c 20 53 65 72 76 65 72 20 43 41 20 2d 20 43 6c 61 73 73 20 33 31 49 30 47 06 03 55 04 0b 13 40 77 77 77 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 43 50 53 20 49 6e 63 6f 72 70 2e 62 79 20 52 65 66 2e 20 4c 49 41 42 49 4c 49 54 59 20 4c 54 44 2e 28 63 29 39 37 20 56 65 72 69 53 69 67 6e 30 1e 17 0d 31 30 30 37 32 31 30 30 30 30 30 30 5a 17 0d 31 31 30 37 32 31 32 33 35 39 35 39 5a 30 81 85 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 13 30 11 06 03 55 04 08 13 0a 43 61 6c 69 66 6f 72 6e 69 61 31 11 30 0f 06 03 55 04 07 14 08 4d 69 6c 70 69 74 61 73 31 12 30 10 06 03 55 04 0a 14 09 41 76 61 79 61 20 49 6e 63 31 1e 30 1c 06 03 55 04 0b 14 15 44 43 41 20 6f 6e 65 58 20 41 70 70 6c 69 63 61 74 69 6f 6e 73 31 1a 30 18 06 03 55 04 03 14 11 73 76 31 78 70 73 32 2e 61 76 61 79 61 2e 63 6f 6d 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 00 a9 0a 11 5a 73 ef 2a 6a 1d ee 8b 64 9e eb 4f dd ba eb 94 d7 2c e3 61 c4 3b 8e 4d 1c 39 87 25 2c 0c 39 b6 d2 3c b5 87 a6 c7 2b e8 24 68 78 a9 0e d7 63 25 d4 40 ba 98 9e 13 fc 3a a9 21 f6 d7 79 66 64 b5 cf c2 50 14 a2 b5 58 39 29 e6 7d 03 92 d2 a1 6b 78 11 4e 47 13 ec 13 ea 9b 2d b1 55 7a a7 10 56 81 89 5a 8e bf 9d 58 27 6c 40 cd 76 e1 cf 3e 58 50 b9 82 cc be 3a 1d 4f bf ac f0 5f 64 35 dc 50 ba 65 ef a6 86 88 3e a4 dc d7 a8 c3 87 33 e8 54 1f c1 cc 8a c8 4b 31 8c 65 a2 ca 57 f3 21 14 34 d6 b9 a8 f1 a1 cb 58 be fd ee 00 26 1d 5b 03 7b 63 09 dc 0a 28 be 43 c0 e0 b3 7b fa 3d 0d 61 66 fb 21 e7 b4 28 cc 07 35 9d 66 59 bd 78 40 18 1a 51 be c3 e4 5d 85 b4 01 43 c2 26 e4 86 e6 32 af e0 0c a3 c5 97 b6 eb 15 0b b8 d9 5f b1 70 92 e4 05 9e b2 af 2e 8e 1d fd 7a 91 43 8d 0d 02 03 01 00 01 a3 82 01 ad 30 82 01 a9 30 09 06 03 55 1d 13 04 02 30 00 30 0b 06 03 55 1d 0f 04 04 03 02 05 a0 30 3c 06 03 55 1d 1f 04 35 30 33 30 31 a0 2f a0 2d 86 2b 68 74 74 70 3a 2f 2f 53 56 52 49 6e 74 6c 2d 63 72 6c 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 53 56 52 49 6e 74 6c 2e 63 72 6c 30 44 06 03 55 1d 20 04 3d 30 3b 30 39 06 0b 60 86 48 01 86 f8 45 01 07 17 03 30 2a 30 28 06 08 2b 06 01 05 05 07 02 01 16 1c 68 74 74 70 73 3a 2f 2f 77 77 77 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 72 70 61 30 28 06 03 55 1d 25 04 21 30 1f 06 09 60 86 48 01 86 f8 42 04 01 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 71 06 08 2b 06 01 05 05 07 01 01 04 65 30 63 30 24 06 08 2b 06 01 05 05 07 30 01 86 18 68 74 74 70 3a 2f 2f 6f 63 73 70 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 30 3b 06 08 2b 06 01 05 05 07 30 02 86 2f 68 74 74 70 3a 2f 2f 53 56 52 49 6e 74 6c 2d 61 69 61 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 53 56 52 49 6e 74 6c 2d 61 69 61 2e 63 65 72 30 6e 06 08 2b 06 01 05 05 07 01 0c 04 62 30 60 a1 5e a0 5c 30 5a 30 58 30 56 16 09 69 6d 61 67 65 2f 67 69 66 30 21 30 1f 30 07 06 05 2b 0e 03 02 1a 04 14 4b 6b b9 28 96 06 0c bb d0 52 38 9b 29 ac 4b 07 8b 21 05 18 30 26 16 24 68 74 74 70 3a 2f 2f 6c 6f 67 6f 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 76 73 6c 6f 67 6f 31 2e 67 69 66 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81 81 00 70 cc f5 ad eb 4c b5 f0 8f 9e 63 dd 60 4b 05 cb 23 a0 47 64 35 bc 86 32 32 16 1a c9 1e 2f 98 ca dd 13 bd bd 3f 29 ec 68 c6 79 dd 6d 7a d8 37 a3 ab f5 b1 a8 bf 24 81 d4 47 62 0d 8d 72 f4 dd 0b d7 13 9f ed 33 d1 8f 74 b6 25 2a 53 56 6c dc 45 c0 0b 4c 5c bd 5c 8f de 02 fd ab 66 d6 ca 8d da 7d e9 46 37 f6 27 30 c8 cf a5 dc 5f f1 1c 8b ea 49 55 ec b6 15 d2 73 76 2d ab df a4 b9 da 86 e0 00 03 87 30 82 03 83 30 82 02 ec a0 03 02 01 02 02 10 46 fc eb ba b4 d0 2f 0f 92 60 98 23 3f 93 07 8f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 5f 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 17 30 15 06 03 55 04 0a 13 0e 56 65 72 69 53 69 67 6e 2c 20 49 6e 63 2e 31 37 30 35 06 03 55 04 0b 13 2e 43 6c 61 73 73 20 33 20 50 75 62 6c 69 63 20 50 72 69 6d 61 72 79 20 43 65 72 74 69 66 69 63 61 74 69 6f 6e 20 41 75 74 68 6f 72 69 74 79 30 1e 17 0d 39 37 30 34 31 37 30 30 30 30 30 30 5a 17 0d 31 36 31 30 32 34 32 33 35 39 35 39 5a 30 81 ba 31 1f 30 1d 06 03 55 04 0a 13 16 56 65 72 69 53 69 67 6e 20 54 72 75 73 74 20 4e 65 74 77 6f 72 6b 31 17 30 15 06 03 55 04 0b 13 0e 56 65 72 69 53 69 67 6e 2c 20 49 6e 63 2e 31 33 30 31 06 03 55 04 0b 13 2a 56 65 72 69 53 69 67 6e 20 49 6e 74 65 72 6e 61 74 69 6f 6e 61 6c 20 53 65 72 76 65 72 20 43 41 20 2d 20 43 6c 61 73 73 20 33 31 49 30 47 06 03 55 04 0b 13 40 77 77 77 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 43 50 53 20 49 6e 63 6f 72 70 2e 62 79 20 52 65 66 2e 20 4c 49 41 42 49 4c 49 54 59 20 4c 54 44 2e 28 63 29 39 37 20 56 65 72 69 53 69 67 6e 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 d8 82 80 e8 d6 19 02 7d 1f 85 18 39 25 a2 65 2b e1 bf d4 05 d3 bc e6 36 3b aa f0 4c 6c 5b b6 e7 aa 3c 73 45 55 b2 f1 bd ea 97 42 ed 9a 34 0a 15 d4 a9 5c f5 40 25 dd d9 07 c1 32 b2 75 6c c4 ca bb a3 fe 56 27 71 43 aa 63 f5 30 3e 93 28 e5 fa f1 09 3b f3 b7 4d 4e 39 f7 5c 49 5a b8 c1 1d d3 b2 8a fe 70 30 95 42 cb fe 2b 51 8b 5a 3c 3a f9 22 4f 90 b2 02 a7 53 9c 4f 34 e7 ab 04 b2 7b 6f 02 03 01 00 01 a3 81 e3 30 81 e0 30 0f 06 03 55 1d 13 04 08 30 06 01 01 ff 02 01 00 30 44 06 03 55 1d 20 04 3d 30 3b 30 39 06 0b 60 86 48 01 86 f8 45 01 07 01 01 30 2a 30 28 06 08 2b 06 01 05 05 07 02 01 16 1c 68 74 74 70 73 3a 2f 2f 77 77 77 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 43 50 53 30 34 06 03 55 1d 25 04 2d 30 2b 06 [...output has been cut] Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler readIncomingEncryptedData FINE: [ebad72a612cf5875bb81e18916C1] 2855 encrypted data received Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming ssl system message (size 2855) encrypted by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing ssl system message (size 267) created by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (267) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing ssl system message (size 6) created by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (6) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing ssl system message (size 37) created by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (37) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$MergingWriteTask write FINE: merging write task writing (310 bytes): 16 03 01 01 06 10 00 01 02 01 00 0b a2 f1 22 1d f9 a5 e1 eb 6a c6 7e 66 62 cc 35 cc 84 58 97 1f 8a bd 6e 00 ed 13 79 22 82 fa e8 6a a9 86 c4 a6 b0 be a8 fa 81 3b 2b 40 6d ac 85 dc c9 5f 02 55 f4 53 48 e8 28 92 74 8e 46 1b 70 59 86 17 dd de 00 85 f9 9e 78 93 b4 82 18 ee ed 7b 7a a6 78 c0 45 96 62 a9 bd e1 9f 2e 43 10 3d c5 44 58 cd a2 fa 70 59 7a 49 10 c5 b0 66 99 40 4e fe ea b6 ea db 9c 38 17 cd ab e6 c9 b6 88 bb c8 97 0d b3 c4 cd 63 96 79 7d 4a ed eb 2a 25 4f 82 ca 99 11 87 ca aa 29 92 ce 34 1b 1d ac e5 c6 e3 d8 28 ff 68 a8 52 22 88 68 7f 74 18 ed 6a 29 dd 88 27 24 5a d9 89 84 9c 15 57 1c ca c1 87 88 71 63 2e 8c c9 5f c2 e2 3e 00 c1 d8 34 b3 82 52 24 d5 4c c3 d4 a3 af ea c3 88 ef 36 52 7e d5 3e ac e1 cd 50 1d bc 00 86 a1 0b 54 5f 17 54 8f d8 97 b8 2f 49 a3 49 a9 3c 37 1b ce f4 24 00 a0 28 14 03 01 00 01 01 16 03 01 00 20 9a f2 39 71 c0 9d 1c 54 9c 6b 03 2c 11 12 ce 88 de 39 fb 5c c9 e4 10 8a f9 49 0b 75 5f 71 01 27 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$MergingWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (310 bytes) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoUnsynchronizedMemoryManager recycleMemory FINE: recycling 62 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler readSocket FINE: [ebad72a612cf5875bb81e18916C1] received (43 bytes, total 2941 bytes): 14 03 01 00 01 01 16 03 01 00 20 bd 4d 20 61 54 ad e6 c7 9a bf 02 f9 ca cd f1 1f fd 8e f7 63 31 d2 0f 08 1a 9b 54 d3 d7 7c ba cc Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler readIncomingEncryptedData FINE: [ebad72a612cf5875bb81e18916C1] 43 encrypted data received Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming ssl system message (size 6) encrypted by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: remaining not decrypted incoming net data (37) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming ssl system message (size 37) encrypted by ssl engine Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor notifyHandshakeFinished FINE: handshake has been finished (clientMode) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onHandshakeFinished FINE: [ebad72a612cf5875bb81e18916C1] wakeup waiting processes for handeshake Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler startSSL FINE: [ebad72a612cf5875bb81e18916C1] ssl handeshake has been finished continue processing Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor notifyHandshakeFinished FINE: handshake has been finished (clientMode) Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection init FINE: [ebad72a612cf5875bb81e18916C1] connection ebad72a612cf5875bb81e18916C1 created. IoHandler: IoSSLHandler#1457155060 (forward chain: IoSSLHandler > IoSocketHandler >) 1xps_and1 has connected successfully Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler flush FINE: encrypting out app data (1): 02 Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing app data (size 1) encrypted (encrypted size 22) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (22) Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (22 bytes): 17 03 01 00 11 4d e1 62 d2 47 08 87 88 af 98 67 fb e1 2a 40 43 5e Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (22 bytes) Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection$SynchronWriter syncWrite FINE: [ebad72a612cf5875bb81e18916C1] data written Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler flush FINE: encrypting out app data (4): 00 00 00 64 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing app data (size 4) encrypted (encrypted size 25) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (25) Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (25 bytes): 17 03 01 00 14 81 96 46 7f 9d fb d5 1b 5a 9b a7 87 b7 d5 39 ca 8a c3 e9 37 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (25 bytes) Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection$SynchronWriter syncWrite FINE: [ebad72a612cf5875bb81e18916C1] data written Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler flush FINE: encrypting out app data (100): 00 00 00 5c 00 64 00 04 28 01 00 00 00 0a 00 02 28 03 00 00 00 01 f8 04 00 00 00 44 00 66 00 06 40 01 00 09 31 78 70 73 5f 61 6e 64 31 40 02 00 08 41 76 61 79 61 31 32 33 40 03 00 03 48 54 43 40 04 00 0d 54 6f 75 63 68 44 69 61 6d 6f 6e 64 32 40 05 00 02 65 6e 40 06 00 09 36 2e 30 2e 30 2e 30 2e 32 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing app data (size 100) encrypted (encrypted size 121) Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (121) Dec 17, 2010 1:11:18 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (121 bytes): 17 03 01 00 74 4c c2 99 82 19 9c 81 b3 f1 26 b2 fb c2 b2 fa 25 cf f9 f1 21 34 f3 5c 83 9e c0 38 94 ae 20 6a cb ad 0b 40 d1 61 60 33 03 73 ba 3b 10 73 de 98 da 80 71 a4 64 17 70 2b be 6b d1 3e 5b ac 86 7c 32 be 85 7b a5 ab e5 11 f1 3d a8 39 dd 3f e1 8e 90 99 81 67 13 47 4a fc 69 f5 2f d0 31 1d 16 da e0 a0 6f 2d 5f 57 f9 eb 54 a4 1e f6 71 8c 38 d9 55 4b 60 b6 e4 Dec 17, 2010 1:11:18 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (121 bytes) Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection$SynchronWriter syncWrite FINE: [ebad72a612cf5875bb81e18916C1] data written Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:18 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoUnsynchronizedMemoryManager recycleMemory FINE: recycling 62 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler readSocket FINE: [ebad72a612cf5875bb81e18916C1] received (22 bytes, total 2942 bytes): 17 03 01 00 11 bb 1c 7b 48 bd 67 2d 14 07 07 e3 19 ca 58 3a 59 97 Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler readIncomingEncryptedData FINE: [ebad72a612cf5875bb81e18916C1] 22 encrypted data received Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming app data (size 1) encrypted by ssl engine Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler onDataDecrypted FINE: in app data decrypted: 02 Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection onData FINE: [ebad72a612cf5875bb81e18916C1] adding 1 to read buffer Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: adding multithreaded org.xsocket.connection.HandlerAdapter$2@148238f4 to queue which will be processed multithreaded Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: starting worker Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performPendingTasks FINE: performing org.xsocket.connection.HandlerAdapter$2@148238f4 Dec 17, 2010 1:11:19 PM org.xsocket.connection.ReadQueue markReadPosition FINE: mark read position Dec 17, 2010 1:11:19 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (1 bytes) to read mark buffer Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoUnsynchronizedMemoryManager recycleMemory FINE: recycling 62 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler readSocket FINE: [ebad72a612cf5875bb81e18916C1] received (105 bytes, total 3130 bytes): 17 03 01 00 14 42 28 3a 71 58 be b5 01 64 aa 3d 8b 5e 82 50 89 60 a0 a7 4f 17 03 01 00 4b 4c d0 1e ef 7d bb 11 4f a8 fc 87 b4 9e 61 e8 33 ed bf 7a ca e2 e8 6b 3a 6b 13 56 18 47 6d d4 71 38 82 81 0f c3 ad e3 50 5d 0c 21 63 76 61 b1 58 94 2c ae 1c 26 51 79 a1 66 7d 72 7e 3d b0 d2 6f 00 1a 0a a0 4f 18 27 00 4d c2 45 Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler readIncomingEncryptedData FINE: [ebad72a612cf5875bb81e18916C1] 105 encrypted data received Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: remaining not decrypted incoming net data (80) Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming app data (size 5) encrypted by ssl engine Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler onDataDecrypted FINE: in app data decrypted: 00 00 00 3b Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection onData FINE: [ebad72a612cf5875bb81e18916C1] adding 4 to read buffer Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: adding multithreaded org.xsocket.connection.HandlerAdapter$2@26914f6a to queue which will be processed multithreaded Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: starting worker Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performPendingTasks FINE: performing org.xsocket.connection.HandlerAdapter$2@26914f6a Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming app data (size 64) encrypted by ssl engine Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.ReadQueue markReadPosition FINE: mark read position Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler onDataDecrypted FINE: in app data decrypted: 00 00 00 33 00 65 00 04 28 01 00 00 00 0a 28 02 00 00 00 01 28 03 00 00 00 01 f8 04 00 00 00 17 00 67 00 01 40 01 00 13 31 32 39 32 36 30 39 34 37 38 33 34 36 38 30 31 30 30 30 Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection onData FINE: [ebad72a612cf5875bb81e18916C1] adding 59 to read buffer Dec 17, 2010 1:11:19 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (1 bytes) to read mark buffer Dec 17, 2010 1:11:19 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (4 bytes) to read mark buffer Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: adding multithreaded org.xsocket.connection.HandlerAdapter$2@df4cbee to queue which will be processed multithreaded Dec 17, 2010 1:11:19 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (59 bytes) to read mark buffer Handling response for object type = 101 Handling response for APIType = 1 Login was successful Session Id for this session is 1292609478346801000 Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler flush FINE: encrypting out app data (1): 02 Dec 17, 2010 1:11:19 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing app data (size 1) encrypted (encrypted size 22) Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (22) Dec 17, 2010 1:11:19 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (22 bytes): 17 03 01 00 11 8b b6 9a 8a e2 96 04 1b 75 8f 00 77 e1 d6 99 55 04 Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (22 bytes) Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection$SynchronWriter syncWrite FINE: [ebad72a612cf5875bb81e18916C1] data written Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler flush FINE: encrypting out app data (4): 00 00 00 50 Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing app data (size 4) encrypted (encrypted size 25) Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (25) Dec 17, 2010 1:11:19 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (25 bytes): 17 03 01 00 14 e3 22 a6 73 e8 cb 06 ac 77 3a 0d 83 20 44 40 6c 6d 1a 4a 4e Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (25 bytes) Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection$SynchronWriter syncWrite FINE: [ebad72a612cf5875bb81e18916C1] data written Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler flush FINE: encrypting out app data (80): 00 00 00 48 00 64 00 04 28 01 00 00 00 0b 40 02 00 13 31 32 39 32 36 30 39 34 37 38 33 34 36 38 30 31 30 30 30 28 03 00 00 00 02 f8 04 00 00 00 1b 00 6f 00 05 28 01 00 00 00 0f 28 02 00 00 00 0f 28 03 00 00 00 0f 28 04 00 00 00 2d 10 05 00 Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLProcessor wrap FINE: outgoing app data (size 80) encrypted (encrypted size 101) Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSSLHandler onPostDataEncrypted FINE: sending out app data (101) Dec 17, 2010 1:11:19 PM org.xsocket.connection.AbstractMemoryManager newBuffer FINE: allocating 16 kb heap memory Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketDispatcher setWriteSelectionKeyNow FINE: [ebad72a612cf5875bb81e18916C1] set write selecdtion key Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: direct write task writing (101 bytes): 17 03 01 00 60 e8 66 4f e2 1c 3f 7a be 41 69 4e 27 07 41 91 14 b0 81 52 c4 9b 32 ed 36 51 2b 9a 21 e9 a7 3c f8 73 51 08 a8 32 e5 ae 43 92 62 b5 bd f7 87 9f 94 2e 93 60 71 4f 8c 4f 1e b2 01 ab e4 66 bf 8a 55 a0 2c eb f4 21 21 58 27 7a 7b cd a1 ab 8a 97 ba 54 0d 0a 34 64 26 60 ce 00 c5 22 aa 61 ad ae 1f Dec 17, 2010 1:11:19 PM org.xsocket.connection.IoSocketHandler$DirectWriteTask write FINE: [ebad72a612cf5875bb81e18916C1] written (101 bytes) Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection$SynchronWriter syncWrite FINE: [ebad72a612cf5875bb81e18916C1] data written Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Dec 17, 2010 1:11:19 PM org.xsocket.connection.NonBlockingConnection internalFlush FINE: [ebad72a612cf5875bb81e18916C1] flushed Sent a GET_INFO request to server Dec 17, 2010 1:11:19 PM org.xsocket.SerializedTaskQueue performPendingTasks FINE: performing org.xsocket.connection.HandlerAdapter$2@df4cbee Dec 17, 2010 1:11:20 PM org.xsocket.connection.IoUnsynchronizedMemoryManager recycleMemory FINE: recycling 62 kb Dec 17, 2010 1:11:20 PM org.xsocket.connection.IoSocketHandler readSocket FINE: [ebad72a612cf5875bb81e18916C1] received (22 bytes, total 3069 bytes): 17 03 01 00 11 d4 64 9d 78 54 b1 c6 75 1f a2 c2 b8 11 f7 cd 8f 7a Dec 17, 2010 1:11:20 PM org.xsocket.connection.IoSSLHandler readIncomingEncryptedData FINE: [ebad72a612cf5875bb81e18916C1] 22 encrypted data received Dec 17, 2010 1:11:20 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming app data (size 1) encrypted by ssl engine Dec 17, 2010 1:11:20 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:20 PM org.xsocket.connection.IoSSLHandler onDataDecrypted FINE: in app data decrypted: 02 Dec 17, 2010 1:11:20 PM org.xsocket.connection.NonBlockingConnection onData FINE: [ebad72a612cf5875bb81e18916C1] adding 1 to read buffer Dec 17, 2010 1:11:20 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: adding multithreaded org.xsocket.connection.HandlerAdapter$2@536c79d7 to queue which will be processed multithreaded Dec 17, 2010 1:11:20 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: starting worker Dec 17, 2010 1:11:20 PM org.xsocket.SerializedTaskQueue performPendingTasks FINE: performing org.xsocket.connection.HandlerAdapter$2@536c79d7 Dec 17, 2010 1:11:20 PM org.xsocket.connection.ReadQueue markReadPosition FINE: mark read position Dec 17, 2010 1:11:20 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (1 bytes) to read mark buffer Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoUnsynchronizedMemoryManager recycleMemory FINE: recycling 61 kb Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSocketHandler readSocket FINE: [ebad72a612cf5875bb81e18916C1] received (1365 bytes, total 5777 bytes): 17 03 01 00 14 d7 3f ed a1 8c aa fa ce 22 65 3b 80 b1 0c 53 f9 2e 55 78 4a 17 03 01 05 37 74 33 b1 a5 34 cc 5d 81 f3 8d e0 8d 84 bf b5 bf 51 e3 0f ba 79 53 c1 00 4e 75 1b b9 23 68 27 75 6d 72 bb 70 45 ce f6 a5 a1 61 4b 68 e1 e1 2c 47 b8 82 83 41 5c e5 b2 a9 72 87 df 49 86 2b de 64 04 65 7f eb a5 42 9f b7 6d d0 65 b0 88 74 69 ad fb a5 ee e4 60 fc 31 be e1 df 38 0f 8f 1a 65 68 b9 c6 63 c4 8f f7 27 11 1d 0a 2a 1e 05 1e 71 ac e5 a9 7c 30 10 f3 39 cf 2d 22 25 37 d8 fb b4 3e 57 9f 21 15 32 d4 78 69 76 16 30 5c f8 10 56 a1 b4 b6 f8 bd 07 69 1a 26 e4 3d a3 6a b5 a1 e7 6f d0 19 b8 8c 57 e4 2a f1 0c e0 27 9d 50 ae c6 84 c8 ec e6 0e 6c 64 92 47 2b 25 c9 3d 20 54 38 8e 48 a5 64 9b 0a 8c 3c 6b 88 bf ea ec f0 91 43 b6 94 a9 ca 38 56 40 24 32 b8 a4 c0 a2 31 8b 37 fa 38 a4 9e 17 b4 79 ee d3 39 8a 01 44 36 e1 12 e5 24 97 a8 b7 eb 45 9c 49 2d bf de 4f ae b0 f7 15 d2 7f 49 d8 7d 49 47 d7 a5 64 2e b2 88 77 bf dc 9f e8 cb 23 6f c8 ac f5 3f 12 c4 29 ae 91 ad 16 71 1d aa a7 88 28 ce c4 4c 42 c1 6b ec fd dc 70 63 6f 2b 9e 87 f6 77 11 1f 58 b1 f0 79 5c 46 91 05 ff 6a 03 4a 05 32 e1 f1 d7 9d 6b 33 18 18 69 ae e3 e9 05 e7 08 b5 86 5e a5 1d 18 ad d4 c8 03 59 7a 46 27 02 d7 95 53 a2 5f 3e 23 83 03 d7 66 0f d0 30 ea 84 eb 9c a3 09 37 ec 30 38 c1 a1 63 ad f3 e5 33 f8 32 15 69 ac 61 6d 74 dd 8e 40 9f 07 1d 7d c6 4f a3 a0 70 99 b3 71 79 10 2a 75 99 27 32 de e9 9f d2 58 17 a0 c3 0b 5e d8 66 4e f4 9a 50 b4 12 d6 6e 38 55 2d e0 fa 06 f0 35 5a 69 41 33 de bd 6f f3 e6 b8 73 9a 8a 3a 73 35 61 01 71 7c 92 4a 17 4b 45 ac 89 90 2a 93 28 b8 5c 84 e3 c3 7b d5 89 28 ad a9 34 7c e9 5b 6b 06 0e ca a4 5e 6e 46 36 34 95 20 a2 52 aa 93 db a0 88 6e e2 f5 c0 5c eb 41 e6 78 cc 95 3a 52 e3 03 b1 f4 c6 d2 9f 50 f0 aa 1d 0e 10 fb e0 ad c9 a7 f1 c9 02 79 e8 02 ee 8a 39 80 a6 db dc ef fe ef 83 d7 fd 4a 7e f9 35 9e 88 c2 f3 c6 db b3 e5 27 7c 97 af eb 66 a5 0a 1d 74 5b 98 a7 24 79 4c b6 3a 4b 14 ad d0 92 7b 2b b7 ec f7 9d 98 c4 9e 69 19 8b 57 be d2 32 a0 c9 13 99 6d 42 00 f5 a1 c8 0b 68 5e 88 1e aa 3c 27 fd 5e 88 24 43 2a a6 cd 4c 6c 90 8e 04 61 e2 51 2a 58 3e ea 8c b5 f6 8e be bd 89 9a 25 cf d9 6b c5 2f 31 ea 0e 7e 8d 82 53 fa 33 ef a6 10 89 cc b2 dc 12 f7 76 09 f2 69 e3 1c e7 8b f4 78 31 ca dc bf 11 4f e7 51 1d ca 71 ec 0a 3c a6 4c a9 89 19 61 16 ed 04 26 1f a9 4f 91 ce be 60 57 75 37 1b 10 55 f7 b4 f8 31 3f a9 59 fc 7c d2 dd 37 b6 7c 94 64 17 4e 15 ab e3 25 27 ce d6 ed 6b d6 6b 76 bf a0 c0 03 0c 64 25 b1 24 6b 2a ce c9 72 d3 ac 2a f8 02 fd 05 e8 de ae e2 15 31 18 b2 45 16 77 62 86 61 14 16 e6 3c c7 18 cc d6 18 3a d1 af bc 77 c5 27 48 2a 6c c0 c6 40 15 fa 44 b6 c2 f0 f9 3b d0 76 00 3c 60 33 5e e7 98 ae 18 e6 11 f3 4b dd bd 6a 54 49 97 4f 57 e1 5b 36 98 ee 6e 06 f1 f5 42 14 ac 2b c2 41 ad af b9 cb 5d 2d 77 e1 3a 9c 1e a3 cd a2 4b 88 e8 4f f5 75 35 f0 aa fb 80 48 ca 80 d1 26 53 b3 c1 27 38 a4 6b 9d 7a 5e b5 ab c8 36 75 5d 64 04 d4 42 2d e5 b8 28 99 8a 50 70 4d 11 90 ee bf b1 31 1a 22 e3 12 a7 bd 29 4d 31 5c 89 57 81 ea 91 e9 e3 29 92 73 0b 0e 9f 1c f6 7e 16 9e 99 af 3f dc 69 14 53 e4 7c 6a 29 8a 14 63 75 cd 85 27 ce 1b 7a 21 71 10 bf d2 f3 bf fb 2b 04 8e 28 6d 80 69 64 96 d1 6f 33 dc 6e 23 c0 14 21 61 a3 dd 1a ff 1e 2f 78 47 77 f7 7f ba 4d e4 a1 ad 8f 34 d8 3a bc 11 10 55 3b 35 00 03 c6 75 2d da e5 fe da dc 4e 4b b9 c2 e7 d0 9b 88 64 33 ab ca e7 d2 a5 29 da d2 a7 29 f9 09 1d 54 f5 7e d0 ee d3 5d d5 c8 71 ed d5 38 9e 62 de b4 e5 7b 7b af ac 03 2d 87 71 9e a5 30 a3 28 f8 a1 6f dd bd 05 f6 5f ed 44 43 62 1b ce 43 c5 ac cc 2b b6 f8 36 84 ed 2f 16 07 06 2f 3c a6 e1 72 5d ea 95 07 6f 6a f4 0f 9f e6 33 b4 e2 c9 22 0b 4c 50 dc d3 a1 7a a5 56 eb 83 25 42 46 76 67 a9 1b 1c 55 54 a1 a1 98 2b a7 21 7b bb 76 f4 ad cd aa 85 f7 a7 be 4b 04 70 9f 65 8c 55 69 0e 6d 6d 01 5d ec b6 ad 54 d9 b6 6d ed 81 5f 0a ce ed ff eb 8a 33 46 16 d6 ed 6c 0f ad 22 08 c5 00 44 ba 0e 34 57 b0 b3 e5 bf be 05 5f f9 ee 77 1a cc 8a 2e d3 e3 5e 0d 14 b3 19 13 00 1f fc 1f 32 da 2c 8e 12 a2 76 d5 57 89 25 e2 7d db f8 f0 49 89 5b 62 76 f4 2e 3e 9b 7f b9 db 2b 93 21 a1 4e d2 70 79 e8 98 4c 9d bd 10 85 25 f1 52 a0 11 de 17 ee 77 cd 87 c7 7d 7b a1 39 83 91 e7 99 cd ac 02 95 fb a1 5d 88 37 23 29 e3 8e b0 ca d0 c9 8b db 2c ce Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSSLHandler readIncomingEncryptedData FINE: [ebad72a612cf5875bb81e18916C1] 1365 encrypted data received Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: remaining not decrypted incoming net data (1340) Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming app data (size 5) encrypted by ssl engine Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 16 kb Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSSLHandler onDataDecrypted FINE: in app data decrypted: 00 00 05 27 Dec 17, 2010 1:11:21 PM org.xsocket.connection.NonBlockingConnection onData FINE: [ebad72a612cf5875bb81e18916C1] adding 4 to read buffer Dec 17, 2010 1:11:21 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: adding multithreaded org.xsocket.connection.HandlerAdapter$2@76b33d0a to queue which will be processed multithreaded Dec 17, 2010 1:11:21 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: starting worker Dec 17, 2010 1:11:21 PM org.xsocket.SerializedTaskQueue performPendingTasks FINE: performing org.xsocket.connection.HandlerAdapter$2@76b33d0a Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue markReadPosition FINE: mark read position Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (1 bytes) to read mark buffer Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSSLProcessor unwrap FINE: incoming app data (size 1324) encrypted by ssl engine Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (4 bytes) to read mark buffer Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSynchronizedMemoryManager recycleMemory FINE: recycling 15 kb Dec 17, 2010 1:11:21 PM org.xsocket.connection.IoSSLHandler onDataDecrypted FINE: in app data decrypted: 00 00 05 1f 00 65 00 04 28 01 00 00 00 0b 28 02 00 00 00 02 28 03 00 00 00 01 f8 04 00 00 05 03 00 70 00 14 28 01 00 00 00 0f f8 02 00 00 00 71 00 75 00 11 40 01 00 20 33 64 35 31 66 61 64 30 30 33 39 38 31 31 65 30 61 31 34 65 30 30 63 61 66 65 31 32 39 30 31 30 28 02 00 00 00 03 28 03 00 00 00 03 28 04 00 00 00 00 40 05 00 00 40 06 00 00 40 07 00 05 36 39 30 30 30 10 08 01 10 09 00 28 0a 00 00 00 05 28 0b 00 00 00 03 10 0c 00 f8 0d ff ff ff ff 80 7f 00 00 10 0e 00 10 0f 01 00 10 10 11 01 f8 03 ff ff ff ff 80 76 00 00 f8 04 ff ff ff ff 80 6b 00 05 00 00 00 99 00 6b 00 10 40 01 00 20 33 64 35 33 61 38 38 31 30 33 39 38 31 31 65 30 61 31 34 65 30 30 63 61 66 65 31 32 39 30 31 30 10 02 00 00 03 28 04 00 00 00 01 00 05 28 06 00 00 00 00 40 07 00 00 10 08 01 28 09 00 00 00 01 f8 0a ff ff ff ff 80 08 00 01 00 20 33 64 35 35 32 66 32 30 30 33 39 38 31 31 65 30 61 31 34 65 30 30 63 61 66 65 31 32 39 30 31 30 10 0b 01 10 0e 01 40 0d 00 12 62 75 69 6c 74 69 6e 2e 68 6f 6d 65 2e 6c 61 62 65 6c 40 0c 00 04 68 6f 6d 65 10 0f 00 00 10 00 00 00 a9 00 6b 00 10 40 01 00 20 33 64 35 31 66 61 64 30 30 33 39 38 31 31 65 30 61 31 34 65 30 30 63 61 66 65 31 32 39 30 31 30 10 02 01 40 03 00 20 33 64 35 33 33 33 35 31 30 33 39 38 31 31 65 30 61 31 34 65 30 30 63 61 66 65 31 32 39 30 31 30 28 04 00 00 00 02 00 05 28 06 00 00 00 00 40 07 00 00 10 08 01 28 09 00 00 00 01 f8 0a ff ff ff ff 80 08 00 01 00 20 33 64 35 35 32 66 32 30 30 33 39 38 31 31 65 30 61 31 34 65 30 30 63 61 66 65 31 32 39 30 31 30 [...output has been cut] Dec 17, 2010 1:11:21 PM org.xsocket.connection.NonBlockingConnection onData FINE: [ebad72a612cf5875bb81e18916C1] adding 1319 to read buffer Dec 17, 2010 1:11:21 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: adding multithreaded org.xsocket.connection.HandlerAdapter$2@716c9867 to queue which will be processed multithreaded Dec 17, 2010 1:11:21 PM org.xsocket.SerializedTaskQueue performMultiThreaded FINE: starting worker Dec 17, 2010 1:11:21 PM org.xsocket.SerializedTaskQueue performPendingTasks FINE: performing org.xsocket.connection.HandlerAdapter$2@716c9867 Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue markReadPosition FINE: mark read position Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (1 bytes) to read mark buffer Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (4 bytes) to read mark buffer Dec 17, 2010 1:11:21 PM org.xsocket.connection.ReadQueue onExtracted FINE: add data (1319 bytes) to read mark buffer |
|
From: 이성욱 <br...@na...> - 2010-10-28 06:36:16
|
Hello. Really thanks for xSocket.
I’m using xSocket multiplexed socket server.
Below code is simple snippets of my program (Especially part of Socket server).
I can catch every event of Pipeline with MultiplexedProtocolAdapter class.
But I can’t catch event of Connection (parent of a set of pipeline).
Connection can exist without pipeline, But session data could be shared within connection(MultiplexedConnection) not pipeline.
This session data have to be finalized connection(MultiplexedConnection) close time, not pipeline.
Please tell me how can I catch Connection(MultiplexedConnection)’s close or connect event on MultiplexedServer context.
Really thanks.
public class TimeoutServer{
public static void main(String[] args) throws Exception{
MultiplexedProtocolAdapter adapter = new MultiplexedProtocolAdapter(handler);
...
Server tServer = new Server(80, options, adapter, null, true);
tServer.setAutoflush(false);
tServer.start();
}
}
class TestHandler implements
//IConnectHandler,
//IDataHandler,
//IDisconnectHandler,
//IIdleTimeoutHandler,
//IConnectionTimeoutHandler
IPipelineConnectHandler,
IPipelineDataHandler,
IPipelineDisconnectHandler,
IPipelineIdleTimeoutHandler,
IPipelineConnectionTimeoutHandler{
public boolean onData(INonBlockingPipeline pipeline) throws IOException,BufferUnderflowException, MaxReadSizeExceededException {
System.out.println(">> onData called");
return true;
}
public boolean onConnect(INonBlockingPipeline pipeline) throws IOException, BufferUnderflowException, MaxReadSizeExceededException {
System.out.println(">> onConnect called");
return true;
}
public boolean onDisconnect(INonBlockingPipeline pipeline) throws IOException {
System.out.println(">> onDisconnect called");
return false;
}
}
|
|
From: Sharath <re...@ya...> - 2010-10-28 01:56:27
|
Hi,
i thought of making a start with xsocket to developing a scalable nio server.
Based on the tutorial on the xsocket web site, I have written the following
code: 2 classes, one is the main startup class, the other a pipeline handler:
public class ServerSocketMain {
static private Logger logger = null;
static private LoggingService loggingService = null;
static private int socketPortNo;
// Buffer size, in bytes, for I/O operations over the socket
static private int buffer_size = 0;
/**
* Private constructor.
*/
private ServerSocketMain () {
logger = Logger.getLogger(this.getClass());
loggingService = new LoggingService();
}
/**
* main(): for starting the program
*
* @param args
*/
/**
* @param args
*/
public static void main(String[] args) {
ServerSocketMain multiConnServerSocket = new ServerSocketMain ();
multiConnServerSocket.initializeSocketParams();
try {
multiConnServerSocket.setupSocketConnOperations();
}
catch (MarisCommsException e) {
logger.fatal("MAYDAY MAYDAY: Cannot listen for client requests.
Program terminated!");
}
}
/**
* Socket specific initializations performed here e.g. port number.
*/
private void initializeSocketParams() {
ResourceBundle serverSocketResources =
ResourceBundle.getBundle("my.app.ServerSocket", Locale.US);
String socketPortNoStr = (String) serverSocketResources
.getObject("SOCKET_PORT_NO");
socketPortNo = (new Integer(socketPortNoStr)).intValue();
loggingService.debug("PORT NO = " + socketPortNo);
String bufferSizeStr = (String)
marisServerSocketResources.getObject("SOCKET_BUFFER_SIZE");
buffer_size = (new Integer(bufferSizeStr)).intValue();
loggingService.debug("BUFFER SIZE = " + buffer_size);
}
/**
* This is the infinite loop that continually performs the socket
operations: accept, read, write
*
* @throws MyAppException
*/
private void setupSocketConnOperations() throws MyAppException{
loggingService.debug("setupSocketConnOperations()");
IServer server;
try {
InetAddress hostAddress;
hostAddress = InetAddress.getLocalHost();
loggingService.debug("xSocket server address: " +
hostAddress.getHostAddress());
server = new Server(hostAddress, socketPortNo, new
MultiplexedProtocolAdapter(new CommandPipelineHandler()));
try {
ConnectionUtils.start(server);
loggingService.debug("xSocket server started");
}
catch (SocketTimeoutException e) {
loggingService.debug("SocketTimeoutException starting xSocket
Server: " + e.getMessage());
}
}
catch (UnknownHostException e) {
loggingService.debug("UnknownHostException creating xSocket Server:
" + e.getMessage());
}
catch (IOException e) {
loggingService.debug("IOException creating xSocket Server: " +
e.getMessage());
}
}
}
public class CommandPipelineHandler implements IPipelineDataHandler,
IConnectHandler {
static private LoggingService LOGGING_SERVICE = new LoggingService();
/* (non-Javadoc)
* @see
org.xsocket.connection.multiplexed.IPipelineDataHandler#onData(org.xsocket.connection.multiplexed.INonBlockingPipeline)
*/
public boolean onData(INonBlockingPipeline pipeline) throws IOException {
LOGGING_SERVICE.debug("onData()");
String incomingMessage = pipeline.readStringByLength(126);
LOGGING_SERVICE.debug("xSocket incomingMessage: " + incomingMessage);
// Pass off to a worker thread:
return true;
}
/* (non-Javadoc)
* @see
org.xsocket.connection.IConnectHandler#onConnect(org.xsocket.connection.INonBlockingConnection)
*/
@Override
public boolean onConnect(INonBlockingConnection arg0) throws IOException,
BufferUnderflowException, MaxReadSizeExceededException {
LOGGING_SERVICE.debug("onConnect()");
return true;
}
}
Checking through the logs I see that while the server is started, neither of the
callback methods are invoked i.e. onConnect, onData.
Please advise, maybe I am doing something silly here.
regards,
Sharath
|
|
From: Sharath <re...@ya...> - 2010-10-27 22:13:30
|
Hi,
i thought of making a start with xsocket to developing a scalable nio server.
Based on the tutorial on the xsocket web site, I have written the following
code: 2 classes, one is the main startup class, the other a pipeline handler:
public class ServerSocketMain {
static private Logger logger = null;
static private LoggingService loggingService = null;
static private int socketPortNo;
// Buffer size, in bytes, for I/O operations over the socket
static private int buffer_size = 0;
/**
* Private constructor.
*/
private ServerSocketMain () {
logger = Logger.getLogger(this.getClass());
loggingService = new LoggingService();
}
/**
* main(): for starting the program
*
* @param args
*/
/**
* @param args
*/
public static void main(String[] args) {
ServerSocketMain multiConnServerSocket = new ServerSocketMain ();
multiConnServerSocket.initializeSocketParams();
try {
multiConnServerSocket.setupSocketConnOperations();
}
catch (MarisCommsException e) {
logger.fatal("MAYDAY MAYDAY: Cannot listen for client requests.
Program terminated!");
}
}
/**
* Socket specific initializations performed here e.g. port number.
*/
private void initializeSocketParams() {
ResourceBundle serverSocketResources =
ResourceBundle.getBundle("my.app.ServerSocket", Locale.US);
String socketPortNoStr = (String) serverSocketResources
.getObject("SOCKET_PORT_NO");
socketPortNo = (new Integer(socketPortNoStr)).intValue();
loggingService.debug("PORT NO = " + socketPortNo);
String bufferSizeStr = (String)
marisServerSocketResources.getObject("SOCKET_BUFFER_SIZE");
buffer_size = (new Integer(bufferSizeStr)).intValue();
loggingService.debug("BUFFER SIZE = " + buffer_size);
}
/**
* This is the infinite loop that continually performs the socket
operations: accept, read, write
*
* @throws MyAppException
*/
private void setupSocketConnOperations() throws MyAppException{
loggingService.debug("setupSocketConnOperations()");
IServer server;
try {
InetAddress hostAddress;
hostAddress = InetAddress.getLocalHost();
loggingService.debug("xSocket server address: " +
hostAddress.getHostAddress());
server = new Server(hostAddress, socketPortNo, new
MultiplexedProtocolAdapter(new CommandPipelineHandler()));
try {
ConnectionUtils.start(server);
loggingService.debug("xSocket server started");
}
catch (SocketTimeoutException e) {
loggingService.debug("SocketTimeoutException starting xSocket
Server: " + e.getMessage());
}
}
catch (UnknownHostException e) {
loggingService.debug("UnknownHostException creating xSocket Server:
" + e.getMessage());
}
catch (IOException e) {
loggingService.debug("IOException creating xSocket Server: " +
e.getMessage());
}
}
}
public class CommandPipelineHandler implements IPipelineDataHandler,
IConnectHandler {
static private LoggingService LOGGING_SERVICE = new LoggingService();
/* (non-Javadoc)
* @see
org.xsocket.connection.multiplexed.IPipelineDataHandler#onData(org.xsocket.connection.multiplexed.INonBlockingPipeline)
*/
public boolean onData(INonBlockingPipeline pipeline) throws IOException {
LOGGING_SERVICE.debug("onData()");
String incomingMessage = pipeline.readStringByLength(126);
LOGGING_SERVICE.debug("xSocket incomingMessage: " + incomingMessage);
// Pass off to a worker thread:
return true;
}
/* (non-Javadoc)
* @see
org.xsocket.connection.IConnectHandler#onConnect(org.xsocket.connection.INonBlockingConnection)
*/
@Override
public boolean onConnect(INonBlockingConnection arg0) throws IOException,
BufferUnderflowException, MaxReadSizeExceededException {
LOGGING_SERVICE.debug("onConnect()");
return true;
}
}
Checking through the logs I see that while the server is started, neither of the
callback methods are invoked i.e. onConnect, onData.
Please advise, maybe I am doing something silly here.
regards,
Sharath
|
|
From: Gregor R. <gre...@gm...> - 2010-09-26 07:46:01
|
Hi,
would you please send a small runnable version of your server to reproduce this behaviour
Gregor
----- Original Message -----
From: 王登
Sent: 09/23/10 07:43 AM
To: xso...@li...
Subject: [xSocket-develop] issue on INonBlockingConnection getremoteaddress
i can not get the remote ip address, except the java.lang.NullPointerException.
the handle code is below:
public boolean onConnect(INonBlockingConnection connection) throws IOException {
String remoteip = connection.getRemoteAddress().getHostAddress();//NullPointerException here
...
}
the client code is below(writen in python):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(HOST, PORT)
s.send(DATA)
#time.sleep(1) if i add this line, i can get the correct remote ip address.
s.close()
|
|
From: 王登 <lma...@gm...> - 2010-09-23 06:11:23
|
i can not get the remote ip address, except the
java.lang.NullPointerException.
the handle code is below:
public boolean onConnect(INonBlockingConnection connection) throws
IOException {
String remoteip =
connection.getRemoteAddress().getHostAddress();//NullPointerException here
...
}
the client code is below(writen in python):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(HOST, PORT)
s.send(DATA)
#time.sleep(1) if i add this line, i can get the correct remote ip address.
s.close()
|
|
From: 王登 <lma...@gm...> - 2010-09-23 05:43:48
|
i can not get the remote ip address, except the
java.lang.NullPointerException.
the handle code is below:
public boolean onConnect(INonBlockingConnection connection) throws
IOException {
String remoteip =
connection.getRemoteAddress().getHostAddress();//NullPointerException here
...
}
the client code is below(writen in python):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(HOST, PORT)
s.send(DATA)
#time.sleep(1) if i add this line, i can get the correct remote ip address.
s.close()
|
|
From: Gregor R. <gre...@gm...> - 2010-09-21 05:58:10
|
Hi Nilendra, would you please write a small JUnitTest which reproduces this behaviour. Gregor ----- Original Message ----- From: Nilendra Jain Sent: 09/21/10 07:43 AM To: xso...@li... Subject: [xSocket-develop] Issues connecting SSL client to XSocket Server Hi, I am trying to use Xsockets to write a Socket server, to which we will be connecting : 1. java based xsocket client. 2. OR win32 SSL socket client. I am facing issues connecting to the xsocket server from the win32 SSL client. In the win32 client, I created a socket, then connected it to the server and then did a SSL_Connect (I am using openssl library in win32). But, when the SSL_connect is invoked, the XSocket server's onData gets invoked. Not sure what is happening. Can you please provide some help around this ? Is XSocket compatible with win32 openssl client library ? I also tried connecting a java based SSL client to the XSocket server. I was able to connect, but the data that I am sending from the client to the server is being received as garbage data on the server end. What can be the problem here ? Thanks, Nilendra ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ xSocket-develop mailing list xSo...@li... https://lists.sourceforge.net/lists/listinfo/xsocket-develop |
|
From: Nilendra J. <nil...@ya...> - 2010-09-21 05:43:54
|
Hi,
I am trying to use Xsockets to write a Socket server, to which we will be connecting :
1. java based xsocket client.
2. OR win32 SSL socket client.
I am facing issues connecting to the xsocket server from the win32 SSL client. In the win32 client, I created a socket, then connected it to the server and then did a SSL_Connect (I am using openssl library in win32). But, when the SSL_connect is invoked, the XSocket server's onData gets invoked. Not sure what is happening. Can you please provide some help around this ?
Is XSocket compatible with win32 openssl client library ?
I also tried connecting a java based SSL client to the XSocket server. I was able to connect, but the data that I am sending from the client to the server is being received as garbage data on the server end. What can be the problem here ?
Thanks,
Nilendra
|
|
From: Gaurav S. <Gau...@ar...> - 2010-09-14 07:39:07
|
Hi,
I have implemented a Java application and running it on Solaris machine. In that application, I am running XSOCKET server on a specified port (say X). The code snippet is as follows:
========================================================================================================
1> int port = X;
/* open a socket connection */
2> InetSocketAddress addr = new InetSocketAddress(<IP address of Solaris machine>, <port>);
3> Socket = new Socket (); // java.net.Socket.Socket()
4> socket.connect (addr, timeout); // socket is an XSOCKET
/* open I/O streams for objects */
5> OutputStream os = socket.getOutputStream(); // java.io.OutputStream
6> ObjectOutputStream oos = new ObjectOutputStream(os); // java.io.ObjectOutputStream
7> InputStream is = socket.getOutputStream(); // java.io.InputStream
8> ObjectInputStream ois = new ObjectInputStream(is); // java.io.ObjectInputStream
// write the objects to the server
9> oos.writeObject(getCommand());
10> oos.flush();
/* read object from the server (blocking operation) */
11> response = (CommandObjectResponse) ois.readObject();
========================================================================================================
After 10 consecutive execution of the application, the code gets stuck at line number 8 where we are creating an object of ObjectOutputStream.and gives following exception -
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
Also when we try to close ois object, we get Null pointer exception. Do you have any idea of what could be the reason that the code gets stuck after few executions?
Appreciate your help.
Thanks in advance,
Gaurav
________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
|
|
From: Gregor R. <gre...@gm...> - 2010-08-31 06:18:18
|
Hi, there is no FTP lib based on xSocket. It is not planned to implement a FTP lib by the xSocket project. Gregro -------- Original-Nachricht -------- > Datum: Mon, 30 Aug 2010 17:29:59 +0800 (CST) > Von: Hongwenchina <hon...@16...> > An: xso...@li... > Betreff: [xSocket-develop] Is there a ftp nio library that using xSocket framework? > Hi, > > xSocket is a great framework using java NIO. The case is , I want to > implement a class that connects and > receives data via ftp connection. > > Is there a ftp-client nio library that using xSocket framework? > > If none, would you like to implement one in future? > > Thank you. > > > Stonered > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop |
|
From: Hongwenchina <hon...@16...> - 2010-08-30 09:30:38
|
Hi,
xSocket is a great framework using java NIO. The case is , I want to implement a class that connects and
receives data via ftp connection.
Is there a ftp-client nio library that using xSocket framework?
If none, would you like to implement one in future?
Thank you.
Stonered
|
|
From: Gregor R. <gre...@gm...> - 2010-08-27 05:58:00
|
Hello Mark, the current version of xSocket does not support setting custom executors for the dispatcher. A dispatcher requires a dedicated thread which runs in an endless loop waiting for network events. Gregor -------- Original-Nachricht -------- > Datum: Wed, 25 Aug 2010 16:39:02 +0200 > Von: Mark van Holsteijn <mar...@gm...> > An: xso...@li... > Betreff: [xSocket-develop] specifying an executor for the dispatcher pool > In xsocket it is possible to specify an executor for dispatcher threads > (workerpool). Is it also possible to specify an executor for the > dispatcher? > The documentation suggests that #CPU +1 dispatcher threads are created by > xsocket. See > http://xsocket.sourceforge.net/core/tutorial/V2/TutorialCore.htm#tocTutorial35 > > Does xsocket indeed create threads for the dispatcher pool? > > In order to use the xsocket library in a Connector in a j2ee container, > The > library should not be creating any threads itself. Thread Management > should > be done by the container. > > > Cheers, > > Mark > > > -- > ing.Mark van Holsteijn > senior consultant > Equi Librio Consultancy & Coaching BV. > tel: +316-22-374-114, ma...@eq... |
|
From: Mark v. H. <mar...@gm...> - 2010-08-25 14:39:10
|
In xsocket it is possible to specify an executor for dispatcher threads (workerpool). Is it also possible to specify an executor for the dispatcher? The documentation suggests that #CPU +1 dispatcher threads are created by xsocket. See http://xsocket.sourceforge.net/core/tutorial/V2/TutorialCore.htm#tocTutorial35 Does xsocket indeed create threads for the dispatcher pool? In order to use the xsocket library in a Connector in a j2ee container, The library should not be creating any threads itself. Thread Management should be done by the container. Cheers, Mark -- ing.Mark van Holsteijn senior consultant Equi Librio Consultancy & Coaching BV. tel: +316-22-374-114, ma...@eq... |
|
From: Mike C. <xs...@li...> - 2010-08-24 11:02:39
|
On 23/08/2010 23:30, Mike Cardwell wrote:
> I have a class defined as follows:
>
> public class MyHandler implements IDataHandler, IConnectHandler {
>
> in the onConnect method, I call the following on the
> INonBlockingConnection (nbc)
>
> nbc.setMaxReadBufferThreshold(10);
>
> In the onData method, I do this:
>
> try {
> String line = nbc.readStringByDelimiter("\n");
> } catch( MaxReadSizeExceededException e ){
> nbc.close();
> }
Ahhh. You can pass the maximum length as an argument to
readStringByDelimiter. Never mind, I answered my own question.
--
Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin
Read my tech Blog - https://secure.grepular.com/
Follow me on Twitter - http://twitter.com/mickeyc
Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell
|
|
From: Mike C. <xs...@li...> - 2010-08-23 22:30:13
|
I have a class defined as follows:
public class MyHandler implements IDataHandler, IConnectHandler {
in the onConnect method, I call the following on the
INonBlockingConnection (nbc)
nbc.setMaxReadBufferThreshold(10);
In the onData method, I do this:
try {
String line = nbc.readStringByDelimiter("\n");
} catch( MaxReadSizeExceededException e ){
nbc.close();
}
I assumed that the read operation would throw a
MaxReadSizeExceededException if I sent more than 10 bytes down the
channel without a linefeed? What actually happens is that the onData
method stops being called when I hit 10 characters. There is no
exception thrown during the read. Have I misunderstood the purpose of
MaxReadSizeExceededException or have I stumbled across a bug?
I am trying to code for a protocol where the de-limiter is "\n" and
there is a fixed maximum line length. I basically want a to prevent a
malicious application from sending a large quantity of data down the
channel without any linefeeds purely to use up memory...
P.S. Thank you for answering my previous question regarding the LGPL Gregor.
--
Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin
Read my tech Blog - https://secure.grepular.com/
Follow me on Twitter - http://twitter.com/mickeyc
Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell
|
|
From: Gregor R. <gre...@gm...> - 2010-08-23 14:42:02
|
Hi Mike, the license of xSocket is LGPL. You can bundle the lib with your commercial product. You do not have to open source your application. cheers Gregor -------- Original-Nachricht -------- > Datum: Sun, 22 Aug 2010 19:55:24 +0100 > Von: Mike Cardwell <xs...@li...> > An: xso...@li... > Betreff: [xSocket-develop] Licensing question > Hi, > > I'm building a commercial application which wont be open sourced. I'm a > little confused about the licensing of XSocket and whether or not I can > use it in my app. If I were to use XSocket, would I have to open source > the rest of my app? > > I'm thinking that the license just means that if I were to make any > changes to the XSocket library, I'd have to release the source code for > those changes. Is that right? > > Thanks, > > -- > Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin > Read my tech Blog - https://secure.grepular.com/ > Follow me on Twitter - http://twitter.com/mickeyc > Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop |
|
From: Mike C. <xs...@li...> - 2010-08-22 19:11:26
|
Hi, I'm building a commercial application which wont be open sourced. I'm a little confused about the licensing of XSocket and whether or not I can use it in my app. If I were to use XSocket, would I have to open source the rest of my app? I'm thinking that the license just means that if I were to make any changes to the XSocket library, I'd have to release the source code for those changes. Is that right? Thanks, -- Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin Read my tech Blog - https://secure.grepular.com/ Follow me on Twitter - http://twitter.com/mickeyc Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell |
|
From: Gregor R. <gre...@gm...> - 2010-08-06 08:45:09
|
HI,
could you please provide a simple JUnit Test to reproduce this
Thanks
Gregor
----- Original Message -----
From: jianbinli
Sent: 08/06/10 06:43 AM
To: xso...@li...
Subject: [xSocket-develop] xSocket, a problem of org.xsocket.connection.ExtendedClosedChannelException
dear sir,
i got this exception in my xsocket server. there were about 100 client connected to the socketserver. and only one client raised this exception.
i want to know in which conditions this exception may be raised?
org.xsocket.connection.ExtendedClosedChannelException: could not write. channel is close or not initialized (id=17a2112a42cea2993aa20fd0S14f (closed))
[2010-08-06,10:22:29,398] [Message_Sender,?] - com.digitalcn.socketserver.Message_Sender:IOException=could not write. channel is close or not initialized (id=17a2112a42cea2993aa20fd0S155 (closed)) jsonObj value :{"default_room_id":1,"zone_id":"GMT+8","emails":0,"game":"dzpuke","type":"login_resp","xuexibi":98449,"jingyan":4205,"message":"success","vip":2,"lasstlogintime":"2010-08-06 10:22:07","level":0,"liwu_pic":"/game_poker_manager/upload/pic/201004262046155368.png","usernickname":"test6","logintime":"2010-08-06 10:22:29","youxibi":4659,"account":"test6","gender":1,"internet":"uupie","betcount":0}
org.xsocket.connection.ExtendedClosedChannelException: could not write. channel is close or not initialized (id=17a2112a42cea2993aa20fd0S155 (closed))
--------------------------------
李建斌 九州数码服务有限公司
Tel:13601359763
Email: jia...@ho...
www:http://www.digitalcn.com.cn/ http://www.digitalcn.com.cn/
|
|
From: jianbinli <jia...@ho...> - 2010-08-06 04:43:21
|
dear sir,
i got this exception in my xsocket server. there were about 100 client connected to the socketserver. and only one client raised this exception.
i want to know in which conditions this exception may be raised?
org.xsocket.connection.ExtendedClosedChannelException: could not write. channel is close or not initialized (id=17a2112a42cea2993aa20fd0S14f (closed))
[2010-08-06,10:22:29,398] [Message_Sender,?] - com.digitalcn.socketserver.Message_Sender:IOException=could not write. channel is close or not initialized (id=17a2112a42cea2993aa20fd0S155 (closed)) jsonObj value :{"default_room_id":1,"zone_id":"GMT+8","emails":0,"game":"dzpuke","type":"login_resp","xuexibi":98449,"jingyan":4205,"message":"success","vip":2,"lasstlogintime":"2010-08-06 10:22:07","level":0,"liwu_pic":"/game_poker_manager/upload/pic/201004262046155368.png","usernickname":"test6","logintime":"2010-08-06 10:22:29","youxibi":4659,"account":"test6","gender":1,"internet":"uupie","betcount":0}
org.xsocket.connection.ExtendedClosedChannelException: could not write. channel is close or not initialized (id=17a2112a42cea2993aa20fd0S155 (closed))
--------------------------------
李建斌 九州数码服务有限公司
Tel:13601359763
Email:jia...@ho...
www:http://www.digitalcn.com.cn/
|
|
From: Gregor R. <gre...@gm...> - 2010-07-20 04:07:02
|
Hi Jens, onData is called each time the server receives network data. There is no one-to-one relationship between a "network message" and a onData call. onData will also be called, if only part of the "network message" is received. See http://xsocket.sourceforge.net/core/tutorial/V2/TutorialCore.htm Gregor -------- Original-Nachricht -------- > Datum: Mon, 19 Jul 2010 22:16:23 +0200 > Von: Jens Ramhorst <jr...@ju...> > An: xso...@li... > Betreff: [xSocket-develop] One client runs two ore more OnData methods (Threads) > Hello, > sorry for my bad english. > > I wrote a Server with the xSocket library. The Server gets data from more > than > 1000 embedded systems to store the data into a database. > In most cases it runs fine. But sometimes if double data in the database. > Now I found out, that one client opens sometimes two or more threads at > nearly > the same time (both threads works nearly parallel), but the client opens > only > on connection. > > Has anyone an idea? > > Thanks Jens > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop |
|
From: Jens R. <jr...@ju...> - 2010-07-19 20:38:26
|
Hello, sorry for my bad english. I wrote a Server with the xSocket library. The Server gets data from more than 1000 embedded systems to store the data into a database. In most cases it runs fine. But sometimes if double data in the database. Now I found out, that one client opens sometimes two or more threads at nearly the same time (both threads works nearly parallel), but the client opens only on connection. Has anyone an idea? Thanks Jens |
|
From: Jens R. <jr...@ju...> - 2010-07-19 20:34:16
|
Hello, sorry for my bad english. I wrote a Server with the xSocket library. The Server gets data from more than 1000 embedded systems to store the data into a database. In most cases it runs fine. But sometimes if double data in the database. Now I found out, that one client opens sometimes two or more threads at nearly the same time (both threads works nearly parallel), but the client opens only on connection. Has anyone an idea? Thanks Jens |