I am wondering if I can have 2 codecs chain up with one feeding the
other.
One use case could be: using exisiting TextLineCodec with build a new
codec to deal with Http request/response semantic. The TextLineCodec
already handles line delimiting. The new HttpCodec only need to handle
Http req
Is there a HttpCodec already available for use by a client issuing Http
request? - I think AsyncWeb has a Http codec for the server side.
Thx
Chuck
Hi Trustin,
Thx for the reply. We need to be able to change the timeout value at
runtime via config bean. Does IoSession.setIdleTime(IdleStatus,
idleTime) calls java.net.Socket.setSoTimeout() - which takes millisecond
according to the javadoc. what limits MINA to use only seconds?
I've also ha
You can find attached. ;)
--
Murat OZDEMiR
Software Developement Engineer
-Original Message-
From: Zheng, Chuck [mailto:[EMAIL PROTECTED]
Sent: Friday, May 04, 2007 12:32 AM
To: dev@mina.apache.org
Cc: Zheng, Chuck
Subject: HttpCodec for Http client?
Is there a HttpCodec already
On May 3, 2007, at 11:44 PM, Zheng, Chuck wrote:
One problem I see is that ProtocolEncoderOutput used by Http
Encoder.encode() only has method write(ByteBuffer buf) which force the
HttpCode to encode the request into ByteBuffer, but downstream
TextLineEncoder.encode() expect a string!!!
You are
On May 3, 2007, at 9:05 PM, Zheng, Chuck wrote:
1. I saw a ConnectException thrown by sun.nio.SocketChannelImpl during
MINA's SocketConnector.processSessions()'s invocation to
SocketChannel.finishConnect(). The ConnectException is eventually set
to ConnectionRequest, but I don not see how it is
Actually my end client application needs to know which server is "not busy"
in order to connect to the right server. What do you guys normally do?
2007/5/3, peter royal <[EMAIL PROTECTED]>:
On May 3, 2007, at 10:08 AM, mat wrote:
> No other peoples here have the same problem here?
what's the c
Hi,
I just found mina, and trying all the example.
One thing that confused me when I run sumup client, the request was sent
twice? the only parameters is '10'
Is this the right behaviour?
74 [DatagramConnector-0] INFO
org.apache.mina.example.sumup.ClientSessionHandler
- [localhost/127.0.0.1:808
thanks to everyone that came out to my talk today. last talk on the
last day is always tough!
i've posted my slides online at http://people.apache.org/~proyal/MINA%
20AC%20EU%202007.pdf (although you'll miss everything that i said!
come to the conference next time! :)
-pete
--
[EMAIL PRO
Hi,
I just found mina, and trying all the example.
One thing that confused me when I run sumup client, the request was sent
twice? the only parameters is '10'
Is this the right behaviour?
74 [DatagramConnector-0] INFO
org.apache.mina.example.sumup.ClientSessionHandler -
[localhost/127.0.0.1:808
Nice slides! Here is a tiny url:
http://tinyurl.com/2o38xn
On 5/4/07, peter royal <[EMAIL PROTECTED]> wrote:
thanks to everyone that came out to my talk today. last talk on the
last day is always tough!
i've posted my slides online at http://people.apache.org/~proyal/MINA%
20AC%20EU%202007.pd
Can anyone help me out with my protocol design? Is it better to design
protocol as a fixed length or non fixed length? What I meant is fixed lenght
message(for instance 512bytes) for each message? Non fixed length means the
message size could be big. Which method is better? If fixed length, i face
slice 60. Scalablity sucks? what is that supposed to mean?
2007/5/5, Cameron Taggart <[EMAIL PROTECTED]>:
Nice slides! Here is a tiny url:
http://tinyurl.com/2o38xn
On 5/4/07, peter royal <[EMAIL PROTECTED]> wrote:
> thanks to everyone that came out to my talk today. last talk on the
> last
On 5/5/07, peter royal <[EMAIL PROTECTED]> wrote:
thanks to everyone that came out to my talk today. last talk on the
last day is always tough!
i've posted my slides online at http://people.apache.org/~proyal/MINA%
20AC%20EU%202007.pdf (although you'll miss everything that i said!
come to the co
i think have a constant size header which will contain payload length
for rest of message.
On 5/5/07, mat <[EMAIL PROTECTED]> wrote:
Can anyone help me out with my protocol design? Is it better to design
protocol as a fixed length or non fixed length? What I meant is fixed lenght
message(for ins
On May 5, 2007, at 5:08 AM, mat wrote:
slice 60. Scalablity sucks? what is that supposed to mean?
heh, you missed everything that i said! it was a more rapid-fire
presentation style, and i opted to talk more than putting a bunch of
words on the slides.
it was in reference to running with
16 matches
Mail list logo