PutNumber2() 개인적인 메소드

private PutNumber2 ( UInt16 host ) : void
host System.UInt16
리턴 void
예제 #1
0
            internal void Write(ZreMsgOriginal m)
            {
                // Version
                m.PutNumber1(2);                 // Version

                // Sequence
                m.PutNumber2(Sequence);
            }
예제 #2
0
            internal void Write(ZreMsgOriginal m)
            {
                // Version
                m.PutNumber1(2);                 // Version

                // Sequence
                m.PutNumber2(Sequence);

                // Group
                m.PutString(Group);

                // Content
            }
예제 #3
0
            internal void Write(ZreMsgOriginal m)
            {
                // Version
                m.PutNumber1(2);                 // Version

                // Sequence
                m.PutNumber2(Sequence);

                // Endpoint
                m.PutString(Endpoint);

                // Groups
                if (Groups != null)
                {
                    m.PutNumber4((UInt32)Groups.Count);

                    foreach (string s in Groups)
                    {
                        m.PutLongString(s);
                    }
                }
                else
                {
                    m.PutNumber4(0);                        //  Empty string array
                }
                // Status
                m.PutNumber1(Status);

                // Name
                m.PutString(Name);

                // Headers
                if (Headers != null)
                {
                    m.PutNumber4((UInt32)Headers.Count);

                    foreach (var pair in Headers)
                    {
                        m.PutString(pair.Key);
                        m.PutLongString(pair.Value);
                    }
                }
                else
                {
                    m.PutNumber4(0);                        //  Empty dictionary
                }
            }
예제 #4
0
			internal void Write(ZreMsgOriginal m)
			{
				// Version
				m.PutNumber1(2); // Version

				// Sequence
				m.PutNumber2(Sequence);

			}
예제 #5
0
			internal void Write(ZreMsgOriginal m)
			{
				// Version
				m.PutNumber1(2); // Version

				// Sequence
				m.PutNumber2(Sequence);

				// Group
				m.PutString(Group);

				// Status
				m.PutNumber1(Status);

			}
예제 #6
0
			internal void Write(ZreMsgOriginal m)
			{
				// Version
				m.PutNumber1(2); // Version

				// Sequence
				m.PutNumber2(Sequence);

				// Endpoint
				m.PutString(Endpoint);

				// Groups
				if (Groups != null) 
				{
					m.PutNumber4((UInt32)Groups.Count);

					foreach (string s in Groups)
					{
						m.PutLongString(s);
					}                
				}
				else
					m.PutNumber4(0);    //  Empty string array

				// Status
				m.PutNumber1(Status);

				// Name
				m.PutString(Name);

				// Headers
				if (Headers != null) 
				{
					m.PutNumber4((UInt32)Headers.Count);
               
					foreach(var pair in Headers)
					{
						m.PutString(pair.Key);
						m.PutLongString(pair.Value);
					}				
				}
				else
					m.PutNumber4(0);    //  Empty dictionary

			}