public class BufferInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
bufferline_headers_checked |
java.util.Hashtable |
channelsHashtable
Hashtable matching module Names to ChannelInfo objects associated with this buffer.
|
java.lang.String |
configFile
NML Configuration file associated with this buffer.
|
boolean |
has_been_plotted
Has the diagnosics tool already plotted this buffer since reading it?
|
int |
id
Integer Id used only by Design Tool.
|
int |
last_selected_msg_index |
int |
max_plot_var_number
The hightest variable number needed for plotting.
|
java.lang.String |
message_data
Message data after conversion to a comma delimited string.
|
ModuleInfoInterface |
mi
ModuleInfo associated with this buffer.
|
java.lang.String |
Name
Name of buffer used in NML constructor and config file.
|
int |
new_data_count
How many times have we read new data from this buffer? Can be used to determine
if plotting/redisplay etc is necessary.
|
DiagNMLMsgDictInterface |
read_msg_dict
NMLMessageDictionary associated with the read channel.
|
NMLConnectionInterface |
read_nml
Connection used by Diagnostics tool for reading from this buffer.
|
java.util.List<java.lang.String> |
readerNames
List of all the names of all processes known to read from this buffer.
|
ServerInfo |
si
ServerInfo associated with this buffer.
|
DiagNMLMsgDictInterface |
write_msg_dict
NMLMessageDictionary associated with the write channel.
|
NMLConnectionInterface |
write_nml
Connection used by Diagnostics tool for writing to this buffer.
|
java.util.List<java.lang.String> |
writerNames
List of all the names of all processes known to write to this buffer.
|
| Constructor and Description |
|---|
BufferInfo() |
| Modifier and Type | Method and Description |
|---|---|
NMLConnectionInterface |
createExtraChannel()
Create an extra channel cloning the options in the read channel.
|
static NMLFormatConvertErrCallbackInterface |
get_nml_format_err_callback() |
java.lang.String[] |
getBufferLineHeaders() |
java.lang.String |
getMessageData(int read_id)
Read data from the buffer and convert to a comma delimited string.
|
java.util.Vector |
getMsgsAvailable()
Get the list of messages that can be sent and received from this buffer.
|
java.lang.String |
GetPreviousMessage(java.lang.Long l) |
java.util.Hashtable |
getPreviousMessagesHashtable() |
boolean |
isConnected()
Getter for property connected.
|
void |
setConnected(boolean connected)
Setter for property connected.
|
void |
SetNMLConfigFile(java.lang.String new_config_file)
Change to a new configuration file.
|
void |
SetPreviousMessage(java.lang.String s) |
void |
setPreviousMessagesHashtable(java.util.Hashtable _ht) |
java.lang.String |
toString() |
int |
writeDataString(java.lang.String s) |
public boolean bufferline_headers_checked
public java.lang.String Name
public ServerInfo si
public int id
public java.util.List<java.lang.String> readerNames
public java.util.List<java.lang.String> writerNames
public java.util.Hashtable channelsHashtable
public java.lang.String configFile
public int last_selected_msg_index
public NMLConnectionInterface write_nml
public NMLConnectionInterface read_nml
public int max_plot_var_number
public boolean has_been_plotted
public java.lang.String message_data
public int new_data_count
public DiagNMLMsgDictInterface read_msg_dict
public DiagNMLMsgDictInterface write_msg_dict
public ModuleInfoInterface mi
public java.lang.String[] getBufferLineHeaders()
public java.util.Hashtable getPreviousMessagesHashtable()
public void setPreviousMessagesHashtable(java.util.Hashtable _ht)
public static NMLFormatConvertErrCallbackInterface get_nml_format_err_callback()
public void SetPreviousMessage(java.lang.String s)
public java.lang.String GetPreviousMessage(java.lang.Long l)
public int writeDataString(java.lang.String s)
throws NMLException
NMLExceptionpublic void SetNMLConfigFile(java.lang.String new_config_file)
new_config_file - new value of configuration file namepublic java.util.Vector getMsgsAvailable()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getMessageData(int read_id)
read_id - used to determine if this data is new if data has been written into the buffer
but still has the same id as read_id then the data will be considered old.public NMLConnectionInterface createExtraChannel()
public boolean isConnected()
public void setConnected(boolean connected)
connected - New value of property connected.