- All Known Implementing Classes:
PacketHandlers
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
Returns a new packet handler that runs the provided handler after this one.
-
Method Details
-
-
then
Returns a new packet handler that runs the provided handler after this one.
- Parameters:
handler
- packet handler to run aftet this one
- Returns:
- a new packet handler that runs the provided handler after this one