mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cino...@gmail.com>
Subject SocketConnector object utilization
Date Fri, 07 Jul 2006 15:49:02 GMT
Hi all,

 SocketConnector connector = new SocketConnector(); connector.connect( 
                new InetSocketAddress( "localhost",
                Integer.parseInt( 54321 ) ),
                new MyProtocolHandler() );Uses MyProtocolHandler() from a pre used cache?I
have an application that transmit images to a server.Each images are not sent via bulk and
are sent independently,Because of that, i would need to create a new MyProtocolHandler() instance
for every connection.Would there be a better implementation for this?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message