There are the source files:
Main.java:
http://www.nabble.com/file/p1396/Main.java Main.java
TennisBall.java:
http://www.nabble.com/file/p1396/TennisBall.java TennisBall.java
TennisPlayer.java:
http://www.nabble.com/file/p1396/TennisPlayer.java TennisPlayer.java
--
View this mess
Hi Tirthankar,
Generally speaking, you have to go out of your way to make
messageReceived not process messages from the same connection in order
one at a time (something to do with UnorderedExecutorFilter in the
trunk, I believe). So, if all your messages are on a single TCP/IP
connection th
Hi,all
I tried the example tennis in the mina-1.1.4.zip. The tennis is very simple
just like a tennis game, Player-0 is the server, which first send a message
'PING (10)'. Player-1 is the client which receive the message 'PING (10)'
and response a new message 'PONG (9)' to the server.
So, I gu
It's a timing "issue".
Well it's not really an issue except if you want the lines on the
console to be in *strict* chronological order.
1) Main is calling: session.write(new TennisBall(10));
2) the server receives this message and writes two message to the console
Player-0: RCVD PING (10)
Player-
Hi,
PFA the required source code files.
Regards,
Anshuk
Anshuk wrote:
>
> Hi,
>
> I was trying to make a small utility like a proxy server which would be
> used to get hold of the httprequest message sent by the http client,
> decode the request, and then pass the same httprequest to the act
Hi community,
Currently, MINA 2.0.0-M1-SNAPSHOT doesn't allow a user to call
setLocalAddresses() after IoAcceptor.bind() is called. To change the
local addresses, a user have to unbind, change the localAddresses
property and bind again, which is not very convenient and causes
interruption of serv
Deadlock in SocketConnectorIoProcessor & AnonymousIoService
---
Key: DIRMINA-486
URL: https://issues.apache.org/jira/browse/DIRMINA-486
Project: MINA
Issue Type: Bug
Component
+1 for idea #1
On Nov 28, 2007 4:05 PM, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi community,
>
> Currently, MINA 2.0.0-M1-SNAPSHOT doesn't allow a user to call
> setLocalAddresses() after IoAcceptor.bind() is called. To change the
> local addresses, a user have to unbind, change the localAddres
Hi Mina-folks,
we're using the trunk/2.0 version of mina in some of our apps.
For test purposes I used a DummySession and mocked the write() and
close()-methods with easyMock classextension, because I'm not interested in
any other method calls, like get/setAttribute. Some of these Methods are
cal
+1 for #1. I think this option makes the most sense.
-Mike
Trustin Lee wrote:
> Hi community,
>
> Currently, MINA 2.0.0-M1-SNAPSHOT doesn't allow a user to call
> setLocalAddresses() after IoAcceptor.bind() is called. To change the
> local addresses, a user have to unbind, change the localAddr
Hi all
I'm writing a simulator that needs to make many (say 1,000) connections to a
server, interact with it using a commutative protocol, and examine the
various server responses. I am familiar with how to write such a *Server*
using the MINA api, but I can't seem to find any sample code or direc
Trustin Lee wrote:
Hi,
I've just ran JDepends against the current trunk, and it found some
cyclic dependencies:
--
- Package Dependency Cycles:
--
org.apache.mina.example.tapedeck
|
| org.
An update: it appears that this is not a memory leak, but a consequence of
the way the Java 6 VM GC works combined with the NIO buffering system.
Using "jmap -histo:live" was the way to go: it showed a fairly constant size
after a while because it seems to force a general GC, whereas the "-histo"
Hi Steve,
On Nov 29, 2007 1:37 AM, Steve Ulrich (proemion)
<[EMAIL PROTECTED]> wrote:
>
> Hi Mina-folks,
>
> we're using the trunk/2.0 version of mina in some of our apps.
> For test purposes I used a DummySession and mocked the write() and
> close()-methods with easyMock classextension, because I
On Nov 29, 2007 10:18 AM, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi Steve,
>
> On Nov 29, 2007 1:37 AM, Steve Ulrich (proemion)
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi Mina-folks,
> >
> > we're using the trunk/2.0 version of mina in some of our apps.
> > For test purposes I used a DummySession an
Hi Tzvika,
On Nov 29, 2007 2:04 AM, Tzvika Barenholz <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm writing a simulator that needs to make many (say 1,000) connections to a
> server, interact with it using a commutative protocol, and examine the
> various server responses. I am familiar with how to w
16 matches
Mail list logo