|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiagNMLMsgDictInterface
NMLMessageDictionaries allow the marshalling and unmarshalling of NML messages. They are generally created using the CodeGenerator and therefore have type information built in at compile-time. The Diag version must discover the type information at runtime. This interface allows the CodeGen code to interact with a DiagNMLMsgDict without an explicit dependancy. Many of the functions added relate to logging error messages. The need to eliminate circular dependancies came from seperately compiling each java file in a Makefile with a variety of compilers. It is likely no longer necessary to eliminate the circular dependancies.
NMLFormatConvertErrCallbackInterface
Method Summary | |
---|---|
void |
bytesNotUsed(int bytes_in_input_stream,
java.lang.String bufName,
boolean warn_given)
Used to log a warning message if the dictionary results do not match the expected input. |
int |
get_failed_count()
Returns the number of errors that have occured related to this dictionary. |
void |
miscError()
Log Information about this dictionary when generic NML error occurs. |
void |
miscError(java.lang.Exception e)
Log Information about this dictionary when NML error occurs with a related Exception called by NMLFormatConvertErrCallbackInterface |
void |
SetModuleInfoObject(ModuleInfoInterface mi)
Used to set a ModuleInfo object, needed for this to function. |
void |
tokensNotUsed(int num_tokens,
java.lang.String input_string,
boolean warn_given)
Used to log a warning message if the dictionary results do not match the expected input. |
Methods inherited from interface rcs.nml.NMLMessageDictionary |
---|
formatMsg, getEstimatedSize, getMaxEstimatedSize |
Method Detail |
---|
void SetModuleInfoObject(ModuleInfoInterface mi)
mi
- int get_failed_count()
void tokensNotUsed(int num_tokens, java.lang.String input_string, boolean warn_given)
num_tokens
- -- number tokens in input_stringinput_string
- -- comma delimited string to be parsedwarn_given
- -- if already warned do not warn again.void bytesNotUsed(int bytes_in_input_stream, java.lang.String bufName, boolean warn_given)
bytes_in_input_stream
- -- number of bytes readbufName
- -- NML buffer namewarn_given
- -- if already warned do not warn again.void miscError()
void miscError(java.lang.Exception e)
e
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |