public class MessageTypeFilter extends Object implements PacketFilter
Message.Type| Constructor and Description |
|---|
MessageTypeFilter(Message.Type type)
Creates a new message type filter using the specified message type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter.
|
public MessageTypeFilter(Message.Type type)
type - the message type.public boolean accept(Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2015 Ignite Realtime. All rights reserved.