public static class MessageConst.Aide extends Object
FUTURE: we might consider to use hashCode or other to represents the identifier such that the client will have the same code as the server.
| Constructor and Description |
|---|
Aide() |
| Modifier and Type | Method and Description |
|---|---|
static int |
register(Class klass,
String filename)
Registers a message filename, and returns an identifier to
represent it.
|
public static final int register(Class klass, String filename)
The path is assumed to be /metainfo/mesg.
filename - the filename without path and extension, e.g, "msgacc"Copyright © 2018. All rights reserved.