Converts a textual representation of a KEY protocol into its numeric code. Integers in the range 0..255 are also accepted. @param s The textual representation of the protocol @return The protocol code, or -1 on error.
(String s)
| 73 | * @return The protocol code, or -1 on error. |
| 74 | */ |
| 75 | public static int |
| 76 | value(String s) { |
| 77 | return protocols.getValue(s); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | public static class Flags { |
no test coverage detected