Skip to content

Commit

Permalink
Add enum useful when performing filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
realityforge committed Sep 16, 2021
1 parent d388337 commit 9e4228c
Showing 1 changed file with 20 additions and 0 deletions.
@@ -0,0 +1,20 @@
package org.realityforge.replicant.server.transport;

/**
* A enum controlling thw way we filter EntityMessage.
*/
public enum FilterResult
{
/**
* Message should be kept
*/
KEEP,
/**
* Message should be kept but translated into a "DELETE" as the entity has moved out of scope
*/
DELETE,
/**
* Message should be filtered out
*/
DISCARD
}

0 comments on commit 9e4228c

Please sign in to comment.