<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.14">
  <compounddef id="maxMsgCli_8m" kind="file" language="Objective-C">
    <compoundname>maxMsgCli.m</compoundname>
      <sectiondef kind="var">
      <memberdef kind="variable" id="maxMsgCli_8m_1a8bd4accafd4e712317ed9a471738a971" prot="public" static="no" mutable="no">
        <type></type>
        <definition>charset</definition>
        <argsstring></argsstring>
        <name>charset</name>
        <initializer>= [&apos;0123456789&apos;, ...
	   &apos;abcdefghijklmnopqrstuvwxyz&apos;, ...
	   &apos;ABCDEFGHIJKLMNOPQRSTUVWXYZ&apos;]</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="2" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="2" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1aca262c02c14a67df66519f05d466df7e" prot="public" static="no" mutable="no">
        <type></type>
        <definition>msg_size</definition>
        <argsstring></argsstring>
        <name>msg_size</name>
        <initializer>= CisInterface(&apos;CIS_MSG_BUF&apos;)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="7" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="7" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1a8f0fb0278f26ff47ca653a03793d1011" prot="public" static="no" mutable="no">
        <type>Create a max</type>
        <definition>Create a max message</definition>
        <argsstring></argsstring>
        <name>message</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="10" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="10" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1a2e230c75e7c603c7ef6e8541ef4eaf1a" prot="public" static="no" mutable="no">
        <type>Create a max send recv and verify</type>
        <definition>Create a max send recv and verify rpc</definition>
        <argsstring></argsstring>
        <name>rpc</name>
        <initializer>= CisInterface(&apos;<ref refid="classCisRpcClient" kindref="compound">CisRpcClient</ref>&apos;, &apos;maxMsgSrv_maxMsgCli&apos;, &apos;%s&apos;, &apos;%s&apos;)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="11" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="11" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1a7ec978c8a2f576d97f26fa10c1eaf0d0" prot="public" static="no" mutable="no">
        <type>Create a max message</type>
        <definition>Create a max message output</definition>
        <argsstring></argsstring>
        <name>output</name>
        <initializer>= randsample(charset, msg_size-1, true)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="14" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="14" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1af939881b6b66e0eb03826ec42c80fefe" prot="public" static="no" mutable="no">
        <type>Call RPC</type>
        <definition>Call RPC server[flag, vars]</definition>
        <argsstring>[flag, vars]</argsstring>
        <name>server</name>
        <initializer>= rpc.call(output)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="16" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="17" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1afb358f48b1646c750fb9da6c6585be2b" prot="public" static="no" mutable="no">
        <type></type>
        <definition>end</definition>
        <argsstring></argsstring>
        <name>end</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="21" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="21" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="maxMsgCli_8m_1a36290e84af3127a3a9a10b22d7397efb" prot="public" static="no" mutable="no">
        <type>All</type>
        <definition>All done</definition>
        <argsstring></argsstring>
        <name>done</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="31" column="1" bodyfile="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" bodystart="31" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="maxMsgCli_8m_1a6095a1e97e8d015d02996ffb2c10c467" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>fprintf</definition>
        <argsstring>(&apos;maxMsgCli(M):Hello message size is %d.\n&apos;, msg_size)</argsstring>
        <name>fprintf</name>
        <param>
          <type>&apos;maxMsgCli(M):Hello message size is %d.\n&apos;</type>
        </param>
        <param>
          <type>msg_size</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="8" column="1"/>
      </memberdef>
      <memberdef kind="function" id="maxMsgCli_8m_1a1b0fa2b4ad52cc3460a149f664e4fe11" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>if(~flag) error( &apos;maxMsgCli(M)</type>
        <definition>if (~flag) error(&apos;maxMsgCli(M) exit</definition>
        <argsstring>(-1)</argsstring>
        <name>exit</name>
        <param>
          <type>-</type>
          <declname>1</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="20" column="1"/>
      </memberdef>
      <memberdef kind="function" id="maxMsgCli_8m_1a663dbde832b80f6c0b796d52d5eef1de" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>else</type>
        <definition>else disp</definition>
        <argsstring>(&apos;maxMsgCli(M):CONFIRM&apos;)</argsstring>
        <name>disp</name>
        <param>
          <type>&apos;maxMsgCli(M):CONFIRM&apos;</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="28" column="1"/>
      </memberdef>
      <memberdef kind="function" id="maxMsgCli_8m_1a29ff2b11b64a29d8ae10e2cb4530f921" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>All say goodbye</type>
        <definition>All say goodbye disp</definition>
        <argsstring>(&apos;maxMsgCli(M):Goodbye!&apos;)</argsstring>
        <name>disp</name>
        <param>
          <type>&apos;maxMsgCli(M):Goodbye!&apos;</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="32" column="1"/>
      </memberdef>
      <memberdef kind="function" id="maxMsgCli_8m_1adf5c804dfce7a70e36dda02995fad481" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>exit</definition>
        <argsstring>(0)</argsstring>
        <name>exit</name>
        <param>
          <type>0</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m" line="33" column="1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="normal"></highlight></codeline>
<codeline lineno="2"><highlight class="normal">charset<sp/>=<sp/>[&apos;0123456789&apos;,<sp/>...</highlight></codeline>
<codeline lineno="3"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&apos;abcdefghijklmnopqrstuvwxyz&apos;,<sp/>...</highlight></codeline>
<codeline lineno="4"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&apos;ABCDEFGHIJKLMNOPQRSTUVWXYZ&apos;];</highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight></codeline>
<codeline lineno="7"><highlight class="normal">msg_size<sp/>=<sp/>CisInterface(</highlight><highlight class="stringliteral">&apos;CIS_MSG_BUF&apos;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="8"><highlight class="normal">fprintf(</highlight><highlight class="stringliteral">&apos;maxMsgCli(M):<sp/>Hello<sp/>message<sp/>size<sp/>is<sp/>%d.\n&apos;</highlight><highlight class="normal">,<sp/>msg_size);</highlight></codeline>
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
<codeline lineno="10"><highlight class="normal">%<sp/>Create<sp/>a<sp/>max<sp/>message,<sp/>send/recv<sp/>and<sp/>verify</highlight></codeline>
<codeline lineno="11"><highlight class="normal">rpc<sp/>=<sp/>CisInterface(</highlight><highlight class="stringliteral">&apos;CisRpcClient&apos;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&apos;maxMsgSrv_maxMsgCli&apos;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&apos;%s&apos;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&apos;%s&apos;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="12"><highlight class="normal"></highlight></codeline>
<codeline lineno="13"><highlight class="normal">%<sp/>Create<sp/>a<sp/>max<sp/>message</highlight></codeline>
<codeline lineno="14"><highlight class="normal">output<sp/>=<sp/>randsample(charset,<sp/>msg_size-1,<sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="15"><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal">%<sp/>Call<sp/>RPC<sp/>server</highlight></codeline>
<codeline lineno="17"><highlight class="normal">[flag,<sp/>vars]<sp/>=<sp/>rpc.call(output);</highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(~flag)</highlight></codeline>
<codeline lineno="19"><highlight class="normal"><sp/><sp/>error(</highlight><highlight class="stringliteral">&apos;maxMsgCli(M):<sp/>RPC<sp/>ERROR&apos;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="20"><highlight class="normal"><sp/><sp/>exit(-1);</highlight></codeline>
<codeline lineno="21"><highlight class="normal">end;</highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal">%<sp/>Check<sp/>to<sp/>see<sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>response<sp/>matches</highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(vars{1}<sp/>~=<sp/>output)</highlight></codeline>
<codeline lineno="25"><highlight class="normal"><sp/><sp/>error(</highlight><highlight class="stringliteral">&apos;maxMsgCli(M):<sp/>ERROR:<sp/>input/output<sp/>do<sp/>not<sp/>match&apos;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="26"><highlight class="normal"><sp/><sp/>exit(-1);</highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"><sp/><sp/>disp(</highlight><highlight class="stringliteral">&apos;maxMsgCli(M):<sp/>CONFIRM&apos;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="29"><highlight class="normal">end;</highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
<codeline lineno="31"><highlight class="normal">%<sp/>All<sp/>done,<sp/>say<sp/>goodbye</highlight></codeline>
<codeline lineno="32"><highlight class="normal">disp(</highlight><highlight class="stringliteral">&apos;maxMsgCli(M):<sp/>Goodbye!&apos;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="33"><highlight class="normal">exit(0);</highlight></codeline>
    </programlisting>
    <location file="/root/cis_interface/cis_interface/cis_interface/examples/maxMsg/src/maxMsgCli.m"/>
  </compounddef>
</doxygen>
