Ejemplo n.º 1
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeGuid(this.SlideGuid));
            p.Add(SerializedPacket.SerializeGuid(this.TOCEntryGuid));
            return(p);
        }
Ejemplo n.º 2
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeGuid(this.RequesterId));
            p.Add(SerializedPacket.SerializeString(this.RequesterVersion.ToString()));
            return(p);
        }
Ejemplo n.º 3
0
        public SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add(SerializedPacket.SerializeGuid(this.m_id));
            p.Add(SerializedPacket.SerializeString(this.m_friendlyName));
            return(p);
        }
Ejemplo n.º 4
0
        public SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add(SerializedPacket.SerializeGuid(this.m_OwnerId));
            p.Add(SerializedPacket.SerializeString(this.m_ResultString));
            return(p);
        }
Ejemplo n.º 5
0
        public SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add(SerializedPacket.SerializeGuid(this.id_));
            p.Add(SerializedPacket.SerializeInt((int)this.submission_status_));
            p.Add(SerializedPacket.SerializeString(this.role_));
            return(p);
        }
Ejemplo n.º 6
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeString(this.HumanName));
            p.Add(SerializedPacket.SerializeLong((long)this.Disposition));
            p.Add(SerializedPacket.SerializeColor(this.DeckBackgroundColor));
            return(p);
        }
Ejemplo n.º 7
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeGuid(this.GroupId));
            p.Add(SerializedPacket.SerializeString(this.FriendlyName));
            p.Add(SerializedPacket.SerializeBool(this.Singleton));
            return(p);
        }
Ejemplo n.º 8
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeInt(this.StylusId));
            p.Add(SerializedPacket.SerializeInt(this.StrokeId));
            p.Add(SerializedPacket.SerializeIntArray(this.Packets));
            return(p);
        }
Ejemplo n.º 9
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeBool(this.AcceptingStudentSubmissions));
            p.Add(SerializedPacket.SerializeBool(this.ForcingStudentNavigationLock));
            p.Add(SerializedPacket.SerializeBool(this.AcceptingQuickPollSubmissions));
            p.Add(SerializedPacket.SerializeInt64(this.InstructorClockTicks));
            return(p);
        }
Ejemplo n.º 10
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeString(this.Text));
            p.Add(SerializedPacket.SerializeString(this.font_.Name));
            p.Add(SerializedPacket.SerializeColor(this.color_));
            p.Add(SerializedPacket.SerializeBool(this.is_public_));
            return(p);
        }
Ejemplo n.º 11
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeLong((long)this.SheetCollectionSelector));
            p.Add(SerializedPacket.SerializeLong((long)this.Disposition));
            p.Add(SerializedPacket.SerializeRectangle(this.Bounds));
            p.Add(SerializedPacket.SerializeInt(this.Height));
            return(p);
        }
Ejemplo n.º 12
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeInt(this.StrokeIds.Length));
            for (int i = 0; i < this.StrokeIds.Length; i++)
            {
                p.Add(SerializedPacket.SerializeString(this.StrokeIds[i]));
            }
            return(p);
        }
Ejemplo n.º 13
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeGuid(this.ResponderId));
            p.Add(SerializedPacket.SerializeString(this.ResponderVersion.ToString()));
            p.Add(SerializedPacket.SerializeInt((int)this.Compatibility));
            p.Add(SerializedPacket.SerializeInt((int)this.Action));
            p.Add(SerializedPacket.SerializeString(this.WarningMessage));
            return(p);
        }
Ejemplo n.º 14
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeInt(this.SavedInks.Length));
            for (int i = 0; i < this.SavedInks.Length; i++)
            {
                p.Add(SerializedPacket.SerializeByteArray(this.SavedInks[i]));
            }
            return(p);
        }
Ejemplo n.º 15
0
                public SerializedPacket Serialize()
                {
                    SerializedPacket p = new SerializedPacket(this.GetClassId());

                    p.Add(SerializedPacket.SerializeGuid(this.PacketPropertyId));
                    p.Add(SerializedPacket.SerializeInt(this.TabletPropertyMetrics_Maximum));
                    p.Add(SerializedPacket.SerializeInt(this.TabletPropertyMetrics_Minimum));
                    p.Add(SerializedPacket.SerializeFloat(this.TabletPropertyMetrics_Resolution));
                    p.Add(SerializedPacket.SerializeLong((long)this.TabletPropertyMetrics_Units));
                    return(p);
                }
Ejemplo n.º 16
0
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( SerializedPacket.SerializeGuid( this.ParticipantId ) );
     p.Add( (this.EndPoint != null ) ?
         SerializedPacket.SerializeIPEndPoint( this.EndPoint ) : SerializedPacket.NullPacket( PacketTypes.IPEndPointId ) );
     p.Add( SerializedPacket.SerializeString( this.HumanName ) );
     p.Add( SerializedPacket.SerializeULong( this.LastMessageSequence ) );
     p.Add( SerializedPacket.SerializeULong( this.LastChunkSequence ) );
     return p;
 }
Ejemplo n.º 17
0
        public SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add(SerializedPacket.SerializeGuid(this.ParticipantId));
            p.Add((this.EndPoint != null) ?
                  SerializedPacket.SerializeIPEndPoint(this.EndPoint) : SerializedPacket.NullPacket(PacketTypes.IPEndPointId));
            p.Add(SerializedPacket.SerializeString(this.HumanName));
            p.Add(SerializedPacket.SerializeULong(this.LastMessageSequence));
            p.Add(SerializedPacket.SerializeULong(this.LastChunkSequence));
            return(p);
        }
Ejemplo n.º 18
0
            public SerializedPacket Serialize()
            {
                SerializedPacket p = new SerializedPacket(this.GetClassId());

                p.Add(SerializedPacket.SerializeFloat(this.InkToDeviceScaleX));
                p.Add(SerializedPacket.SerializeFloat(this.InkToDeviceScaleY));
                p.Add(SerializedPacket.SerializeInt(this.TabletPropertyDescriptions.Count));
                foreach (TabletPropertyDescriptionInformation d in this.TabletPropertyDescriptions)
                {
                    p.Add(d.Serialize());
                }
                return(p);
            }
Ejemplo n.º 19
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeGuid(this.participantId));
            return(p);
        }
Ejemplo n.º 20
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeString(this.HumanName));
            return(p);
        }
Ejemplo n.º 21
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add((this.m_Result != null) ?
                  this.m_Result.Serialize() : SerializedPacket.NullPacket(PacketTypes.QuickPollResultModelId));
            return(p);
        }
Ejemplo n.º 22
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add(SerializedPacket.SerializeGuid(this.MD5.ToGuid()));
            // TODO CMPRINCE: Serialize the Image Part
            return(p);
        }
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add((this.PathFromRoot != null) ?
                  SerializedPacket.SerializeIntArray(this.PathFromRoot) : SerializedPacket.NullPacket(PacketTypes.IntArrayId));
            return(p);
        }
Ejemplo n.º 24
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add((this.TabletProperties != null) ?
                  this.TabletProperties.Serialize() : SerializedPacket.NullPacket(PacketTypes.TabletPropertyDescriptionCollectionInformationId));
            return(p);
        }
Ejemplo n.º 25
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add((this.CurrentDrawingAttributes != null) ?
                  this.CurrentDrawingAttributes.Serialize() : SerializedPacket.NullPacket(PacketTypes.DrawingAttributesSerializerId));
            return(p);
        }
Ejemplo n.º 26
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add((this.sender_ != null) ?
                  this.sender_.Serialize() : SerializedPacket.NullPacket(PacketTypes.SubmissionStatusModelId));
            return(p);
        }
Ejemplo n.º 27
0
        /// <summary>
        /// Serialize this object
        /// </summary>
        /// <returns>The serialized packet</returns>
        public virtual SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add((this.Group != null) ?
                  this.Group.Serialize() : SerializedPacket.NullPacket(PacketTypes.GroupId));
            if (this.TargetId is Guid && this.TargetId != null)
            {
                p.Add(SerializedPacket.SerializeGuid((Guid)this.TargetId));
            }
            else if (this.TargetId is Model.Presentation.ByteArray && this.TargetId != null)
            {
                p.Add(SerializedPacket.SerializeGuid(((Model.Presentation.ByteArray) this.TargetId).ToGuid()));
            }
            else
            {
                p.Add(SerializedPacket.NullPacket(PacketTypes.GuidId));
            }
            // Don't Serialize Parent
            p.Add((this.Child != null) ?
                  this.Child.Serialize() : SerializedPacket.NullPacket(PacketTypes.MessageId));
            p.Add((this.Predecessor != null) ?
                  this.Predecessor.Serialize() : SerializedPacket.NullPacket(PacketTypes.MessageId));
            p.Add(SerializedPacket.SerializeGuid(this.m_MessageIdentifier));
            return(p);
        }
Ejemplo n.º 28
0
        public override SerializedPacket Serialize()
        {
            SerializedPacket p = base.Serialize();

            p.Add((this.LocalId != null) ?
                  this.LocalId.Serialize() : SerializedPacket.NullPacket(PacketTypes.LocalIdId));
            p.Add(SerializedPacket.SerializeString(this.Title));
            p.Add(SerializedPacket.SerializeFloat(this.Zoom));
            p.Add(SerializedPacket.SerializeRectangle(this.Bounds));
            p.Add(SerializedPacket.SerializeColor(this.SlideBackgroundColor));
            p.Add(SerializedPacket.SerializeGuid(this.SubmissionSlideGuid));
            p.Add(SerializedPacket.SerializeLong((long)this.SubmissionStyle));
            p.Add(SerializedPacket.SerializeLong((long)this.Disposition));
            p.Add(SerializedPacket.SerializeGuid(this.AssociationSlideId));
            return(p);
        }
Ejemplo n.º 29
0
            public SerializedPacket Serialize()
            {
                SerializedPacket p = new SerializedPacket(this.GetClassId());

                p.Add(SerializedPacket.SerializeBool(this.AntiAliased));
                p.Add(SerializedPacket.SerializeColor(this.Color));
                // readonly ArrayList ExtendedProperties
                p.Add(SerializedPacket.SerializeBool(this.FitToCurve));
                p.Add(SerializedPacket.SerializeFloat(this.Height));
                p.Add(SerializedPacket.SerializeBool(this.IgnorePressure));
                p.Add(SerializedPacket.SerializeLong((long)this.PenTip));
                p.Add(SerializedPacket.SerializeLong((long)this.RasterOperation));
                p.Add(SerializedPacket.SerializeByte(this.Transparency));
                p.Add(SerializedPacket.SerializeFloat(this.Width));
                return(p);
            }
Ejemplo n.º 30
0
        public SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add((this.Data != null) ?
                  SerializedPacket.SerializeByteArray(this.Data) : SerializedPacket.NullPacket(PacketTypes.ByteArrayId));
            p.Add(SerializedPacket.SerializeULong(this.MessageSequence));
            p.Add(SerializedPacket.SerializeULong(this.ChunkSequenceInMessage));
            p.Add(SerializedPacket.SerializeULong(this.NumberOfChunksInMessage));
            p.Add(SerializedPacket.SerializeULong(this.MessageDependency));
            p.Add(SerializedPacket.SerializeULong(this.FrameSequence));
            p.Add(SerializedPacket.SerializeULong(this.OldestRecoverableMessage));
            p.Add(SerializedPacket.SerializeULong(this.OldestRecoverableFrame));
            return(p);
        }
Ejemplo n.º 31
0
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( SerializedPacket.SerializeBool( this.EndPoints != null ) );
     if( this.EndPoints != null ) {
         p.Add( SerializedPacket.SerializeInt( this.EndPoints.Length ) );
         foreach( IPEndPoint ep in this.EndPoints ) {
             p.Add( SerializedPacket.SerializeIPEndPoint( ep ) );
         }
     }
     p.Add( SerializedPacket.SerializeString( this.HumanName ) );
     p.Add( SerializedPacket.SerializeGuid( this.SenderID ) );
     p.Add( SerializedPacket.SerializeString( this.PresentationName ) );
     p.Add( SerializedPacket.SerializeBool( this.ShowIP ) );
     return p;
 }
Ejemplo n.º 32
0
        public SerializedPacket Serialize()
        {
            SerializedPacket p = new SerializedPacket(this.GetClassId());

            p.Add(SerializedPacket.SerializeGuid(this.m_Id));
            p.Add(SerializedPacket.SerializeGuid(this.m_OriginalSlideId));
            p.Add(SerializedPacket.SerializeInt((int)this.m_QuickPollStyle));
            p.Add(SerializedPacket.SerializeBool(this.m_Changed));
            p.Add(SerializedPacket.SerializeInt(this.m_Choices.Length));
            foreach (string s in this.m_Choices)
            {
                p.Add(SerializedPacket.SerializeString(s));
            }
            p.Add(SerializedPacket.SerializeInt(this.m_QuickPollResults.Count));
            foreach (QuickPollResultModel res in this.m_QuickPollResults)
            {
                p.Add(res.Serialize());
            }
            return(p);
        }
Ejemplo n.º 33
0
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( SerializedPacket.SerializeGuid( this.m_id ) );
     p.Add( SerializedPacket.SerializeString( this.m_friendlyName ) );
     return p;
 }
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( SerializedPacket.SerializeFloat( this.InkToDeviceScaleX ) );
     p.Add( SerializedPacket.SerializeFloat( this.InkToDeviceScaleY ) );
     p.Add( SerializedPacket.SerializeInt( this.TabletPropertyDescriptions.Count ) );
     foreach( TabletPropertyDescriptionInformation d in this.TabletPropertyDescriptions ) {
         p.Add( d.Serialize() );
     }
     return p;
 }
Ejemplo n.º 35
0
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( (this.Data != null) ?
         SerializedPacket.SerializeByteArray( this.Data ) : SerializedPacket.NullPacket( PacketTypes.ByteArrayId ) );
     p.Add( SerializedPacket.SerializeULong( this.MessageSequence ) );
     p.Add( SerializedPacket.SerializeULong( this.ChunkSequenceInMessage ) );
     p.Add( SerializedPacket.SerializeULong( this.NumberOfChunksInMessage ) );
     p.Add( SerializedPacket.SerializeULong( this.MessageDependency ) );
     p.Add( SerializedPacket.SerializeULong( this.FrameSequence ) );
     p.Add( SerializedPacket.SerializeULong( this.OldestRecoverableMessage ) );
     p.Add( SerializedPacket.SerializeULong( this.OldestRecoverableFrame ) );
     return p;
 }
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( SerializedPacket.SerializeGuid( this.PacketPropertyId ) );
     p.Add( SerializedPacket.SerializeInt( this.TabletPropertyMetrics_Maximum ) );
     p.Add( SerializedPacket.SerializeInt( this.TabletPropertyMetrics_Minimum ) );
     p.Add( SerializedPacket.SerializeFloat( this.TabletPropertyMetrics_Resolution ) );
     p.Add( SerializedPacket.SerializeLong( (long)this.TabletPropertyMetrics_Units ) );
     return p;
 }
 public SerializedPacket Serialize()
 {
     SerializedPacket p = new SerializedPacket( this.GetClassId() );
     p.Add( SerializedPacket.SerializeBool( this.AntiAliased ) );
     p.Add( SerializedPacket.SerializeColor( this.Color ) );
     // readonly ArrayList ExtendedProperties
     p.Add( SerializedPacket.SerializeBool( this.FitToCurve ) );
     p.Add( SerializedPacket.SerializeFloat( this.Height ) );
     p.Add( SerializedPacket.SerializeBool( this.IgnorePressure ) );
     p.Add( SerializedPacket.SerializeLong( (long)this.PenTip ) );
     p.Add( SerializedPacket.SerializeLong( (long)this.RasterOperation ) );
     p.Add( SerializedPacket.SerializeByte( this.Transparency ) );
     p.Add( SerializedPacket.SerializeFloat( this.Width ) );
     return p;
 }