[xSocket-develop] xSocket in synchronous mode
Status: Inactive
Brought to you by:
grro
|
From: Gil V. <Gi...@so...> - 2009-01-04 16:04:11
|
Hi there, I would like to use xSocket to handle a stream of data which is received via TCP protocol in synchronous way. I also use Spring framework. There is an example in the documentation, how to set up a handler and a server : <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <bean id="server" class="org.xsocket.connection.Server" scope="singleton"> <constructor-arg type="int" value="8787"/> <constructor-arg type="org.xsocket.connection.IHandler" ref="Handler"/> </bean> <bean id="Handler" class="org.xsocket.connection.EchoHandler" scope="prototype"/> </beans> The question is : Does this flow works in synchronous mode? Thanks, Gil. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. |