(0000442)
ferg
09-14-05 00:00
|
For example,
We can enforce a 4 minute timeout using this configuration but this simply closes the underlying connection.
<port id='' host='*' port='8888' read-timeout='240s'>
<protocol resin:type="example.Magic8BallProtocol"/>
</port>
Is there a way we can hook into the connection close event to handle proper cleanup on our end (e.g. multi-player game in progress)?
Also we will need to broadcast messages (push messages to clients) without getting a request from the client first. I didn't see an easy way to do that with the API?
|