848586878889909192
System.out.println(obj); }; }); // start session session.start().complete(); return session; } }
144145146147148149150151
Session session = SessionFactory.createSession(SessionType.TCP); session.setRemoteAddress(address); session.setPacketEncoder(new BufferEncoder()); session.setSessionHandler(new FileTransferHandler(file)); session.start(); } }
5960616263646566676869
} }); // start session session.start().complete(); // start send session.send("hello, world!"); session.send(new Integer(Integer.MAX_VALUE)); session.send(new Double(Math.random()));