RealityShard / Documentation

The collected R:S documentation material.
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Fix ProtocolFilter API #6

Closed ephe-meral closed 12 years ago

ephe-meral commented 12 years ago

Change the protocol filter API to be able to return none or one or more than one ShardletActions. (Necessary because a network stream might contain incomplete or multiple packets)

ephe-meral commented 12 years ago

Fixed.

Details: Changed the ProtocolFilter API to enable filters to return 0 or more ShardletActions when processing an incoming action. Each filter is fed all actions coming from its predecessor in sequence, and returns as many actions as it likes.