ute your action when you receive the messageSent event - which means
>> you have written a message, *and* it has been fully sent to the remote
>> peer.
>>
>> In any case, you are still in the IoProcessor thread, so you can do
>> whatever you want (except that if
ent, it will be executed later on, only if
> the message has been fully sent.
>
>
> On 14/02/2019 16:56, kevintjuh93 wrote:
>> It's for a game server where actions need to be synchronized with
>> read/write
>> in order to make sure everything is done in ord
his by
>> creating
>> > a Client and Server connection. I don't believe there is a true
>> loopback
>> > implementation in Mina without going through the OS networking.
>> >
>> > On Thu, Feb 14, 2019 at 10:16 AM kevintjuh93 <
> kevin
Hi guys,
What I mean is that I want a way to execute something for an IoSession in
the same thread the I/O events run. I figured a good way would be to 'fake'
an incoming message, called a loopback packet. Like write a message to
'yourself'.
I rather like to avoid using an ExecutorFilter or a loc
What I mean is to send a loopback message. This means I want to write a
message to the session that's sending the message. But the reason I want to
do this, is because I need to execute something synchronized with the I/O
events (read/write).
--
Sent from:
http://apache-mina.10907.n7.nabble.com