Mantis - Resin
Viewing Issue Advanced Details
383 minor always 09-14-05 00:00 10-06-05 00:00
ferg  
 
urgent  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.15  
0000383: custom protocol enhancements
RSN-429
(rep by Kirk Rasmussen)

Is there a listener interface so that we can gracefully handle timeouts using the custom protocol architecture built-in to resin?
 

Notes
(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?
 
(0000443)
ferg   
09-14-05 00:00   
server/3200