Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        public MessageHandler(PipelineHandler handler) : base(handler)
        {
            EncoderMap.Add("send_tomessage", SendToMessageEncode);
            EncoderMap.Add("send_corpmessage", SendCorpMessageEncode);

            DecoderMap.Add("send_tomessage", SendToMessageDecode);
            DecoderMap.Add("send_corpmessage", SendCorpMessageDecode);
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        public CspaceHandler(PipelineHandler handler) : base(handler)
        {
            EncoderMap.Add("single_upload", SingleUploadEncode);
            EncoderMap.Add("add_to_single_chat", AddToSingleChatEncode);

            DecoderMap.Add("single_upload", SingleUploadDecode);
            DecoderMap.Add("add_to_single_chat", AddToSingleChatDecode);
        }
Beispiel #3
0
        /// <summary>
        ///
        /// </summary>
        public WorkerHandler(PipelineHandler handler) : base(handler)
        {
            EncoderMap.Add("workrecord_add", WorkRecordAddEncode);
            EncoderMap.Add("workrecord_update", WorkRecordUpdateEncode);
            EncoderMap.Add("processinstance_create", ProcessInstanceCreateEncode);

            DecoderMap.Add("workrecord_add", WorkRecordAddDecode);
            DecoderMap.Add("workrecord_update", WorkRecordUpdateDecode);
            DecoderMap.Add("processinstance_create", ProcessInstanceCreateDecode);
        }
Beispiel #4
0
        /// <summary>
        ///
        /// </summary>
        public ContactHandler(PipelineHandler handler) : base(handler)
        {
            EncoderMap.Add("user_create", UserCreateEncode);
            DecoderMap.Add("user_create", UserCreateDecode);
            EncoderMap.Add("department_get", DepartmentGetEncode);
            EncoderMap.Add("department_list", DepartmentListEncode);
            EncoderMap.Add("department_create", DepartmentCreateEncode);
            EncoderMap.Add("get_org_user_count", GetUserCountEncode);
            EncoderMap.Add("get_dept_nember_ids", GetDeptMemberIdsEncode);
            EncoderMap.Add("get_dept_nember_list", GetDeptMemberListEncode);
            EncoderMap.Add("get_dept_nember_simple", GetDeptMemberSimpleEncode);

            DecoderMap.Add("department_get", DepartmentGetDecode);
            DecoderMap.Add("department_list", DepartmentListDecode);
            DecoderMap.Add("department_create", DepartmentCreateDecode);
            DecoderMap.Add("get_org_user_count", GetUserCountDecode);
            DecoderMap.Add("get_dept_nember_ids", GetDeptMemberIdsDecode);
            DecoderMap.Add("get_dept_nember_list", GetDeptMemberListDecode);
            DecoderMap.Add("get_dept_nember_simple", GetDeptMemberSimpleDecode);
        }
Beispiel #5
0
        /// <summary>
        ///
        /// </summary>
        public MediaHandler(PipelineHandler handler) : base(handler)
        {
            EncoderMap.Add("upload", MediaUploadEncode);

            DecoderMap.Add("upload", MediaUploadDecode);
        }