public static class MessageConst.Aide
extends java.lang.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 |
---|
MessageConst.Aide() |
Modifier and Type | Method and Description |
---|---|
static int |
register(java.lang.Class klass,
java.lang.String filename)
Registers a message filename, and returns an identifier to
represent it.
|
public static final int register(java.lang.Class klass, java.lang.String filename)
The path is assumed to be /metainfo/mesg.
filename
- the filename without path and extension, e.g, "msgacc"Copyright © 2005-2011 Potix Corporation. All Rights Reserved.