Creates a filter of a given size.
Namespace:
com.onlineobject.objectnet.server
Assembly:
ObjectNetAPI (in ObjectNetAPI.dll)
public EmbeddedMessageRelayFilter(
int size
)
Parameters
- size
- Type: Int32
How big to make the filter.
size should be set to the value of the largest message ID, plus 1. For example, if a server will
handle messages with IDs 1, 2, 3, 7, and 8,
size should be set to 9 (8 is the largest possible value,
and 8 + 1 = 9) despite the fact that there are only 5 unique message IDs the server will ever handle.