Hi Chris, Your bootstrapping code looks fine to me. Unfortunately, I don't know how to write a Shockwave Flash movie which communicates with a server. You could provide me a simplistic .swf file which performs some communication with the originating server, then I will try to figure out what's the problem.
HTH,
Chris Gamble wrote:
> Sorry to bring this topic back, but I am having a problem and am not
> sure where to turn. I am using AS3 XMLSocket to send streams to a 1.1.6
> Mina Server using the TextLine protocol codec. I have made the
> modification that causes Mina to use \0 as the terminating character.
> The problem is that in my Protocol Handler, I am not getting the XML
> stream as a single document - it is breaking it apart and sending what
> appears to be out of order.
>
> I have setup the system based on the tutorial, so my main looks like:
>
> ByteBuffer.setUseDirectBuffers(false);
> ByteBuffer.setAllocator(new SimpleByteBufferAllocator());
>
> IoAcceptor acceptor = new SocketAcceptor();
>
> SocketAcceptorConfig cfg = new SocketAcceptorConfig();
> cfg.getFilterChain().addLast( "logger", new LoggingFilter() );
> cfg.getFilterChain().addLast( "codec", new ProtocolCodecFilter(
> new FlashTextLineCodecFactory() ));
>
> acceptor.bind( new InetSocketAddress(PORT), new
> XMLProtocolHandler(), cfg);
> System.out.println("MINA Time server started.");
>
>
> Any help is greatly appreciated.
--
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/
signature.asc
Description: OpenPGP digital signature
