Commits
11 11 | public interface Messenger { |
12 12 | |
13 13 | /** |
14 14 | * Represents the largest size that an individual Plugin Message may be. |
15 15 | */ |
16 16 | public static final int MAX_MESSAGE_SIZE = 32766; |
17 17 | |
18 18 | /** |
19 19 | * Represents the largest size that a Plugin Channel may be. |
20 20 | */ |
21 - | public static final int MAX_CHANNEL_SIZE = 16; |
21 + | public static final int MAX_CHANNEL_SIZE = 20; |
22 22 | |
23 23 | /** |
24 24 | * Checks if the specified channel is a reserved name. |
25 25 | * |
26 26 | * @param channel Channel name to check. |
27 27 | * @return True if the channel is reserved, otherwise false. |
28 28 | * @throws IllegalArgumentException Thrown if channel is null. |
29 29 | */ |
30 30 | public boolean isReservedChannel(String channel); |
31 31 | |