Ejemplo n.º 1
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient <DashboardServiceSoapClient>(session).GetThumbnail(
         input.ReadString(),
         input.ReadString(),
         input.ReadString());
 }
Ejemplo n.º 2
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     HttpProcessor.GetClient <CommentServiceSoapClient>(session).EditComment(
         input.ReadString(),
         input.ReadString(),
         input.ReadWebComment());
 }
Ejemplo n.º 3
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient <AskServiceSoapClient>(session).GetResponse(
         input.ReadString(),
         input.ReadString(),
         input.ReadInt32());
 }
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient <PhotoServiceSoapClient>(session).GetPhotosForCollection(
         input.ReadString(),
         input.ReadString(),
         input.ReadInt32());
 }
Ejemplo n.º 5
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     HttpProcessor.GetClient <AskServiceSoapClient>(session).SkipQuestion(
         input.ReadString(),
         input.ReadString(),
         input.ReadInt32());
 }
Ejemplo n.º 6
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient <TagServiceSoapClient>(session).UploadTags(
         input.ReadString(),
         input.ReadString(),
         input.ReadTagUpdate());
 }
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     HttpProcessor.GetClient <MemberServiceSoapClient>(session).SetMemberStatusText(
         input.ReadString(),
         input.ReadString(),
         input.ReadString());
 }
Ejemplo n.º 8
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     HttpProcessor.GetClient <SnapUpServiceSoapClient>(session).DeviceUploadPhoto(
         input.ReadString(),
         input.ReadString(),
         Convert.ToBase64String(input.ReadByteArray()),
         input.ReadDateTime().Ticks.ToString());
 }
Ejemplo n.º 9
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient<CommentServiceSoapClient>(session).HasNewComments(
         input.ReadString(),
         input.ReadString(),
         input.ReadInt32(),
         input.ReadInt32(),
         input.ReadInt32());
 }
Ejemplo n.º 10
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     HttpProcessor.GetClient <AskServiceSoapClient>(session).AttachPhoto(
         input.ReadString(),
         input.ReadString(),
         input.ReadString(),
         input.ReadInt32(),
         Convert.ToBase64String(input.ReadByteArray()));
 }
Ejemplo n.º 11
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient <AskServiceSoapClient>(session).SubmitQuestion(
         input.ReadString(),
         input.ReadString(),
         input.ReadString(),
         input.ReadInt32(),
         input.ReadInt32(),
         input.ReadStringArray(),
         input.ReadInt32(),
         input.ReadBoolean());
 }
Ejemplo n.º 12
0
 public static WebComment ReadWebComment(this DataInputStream input)
 {
     if (input == null)
     {
         throw new ArgumentNullException("input");
     }
     return(new WebComment()
     {
         ID = input.ReadInt32(),
         ObjectID = input.ReadInt32(),
         Nickname = input.ReadString(),
         Text = input.ReadString(),
         DTCreated = input.ReadDateTime().Ticks.ToString(),
         InReplyToCommentID = input.ReadInt32(),
         ParentCommentID = input.ReadInt32(),
         CommentType = input.ReadInt32()
     });
 }
Ejemplo n.º 13
0
        public static String[] ReadStringArray(this DataInputStream input)
        {
            if (input == null)
            {
                throw new ArgumentNullException("input");
            }
            var length = input.ReadInt32();

            String[] result = new String[length];
            for (var i = 0; i < length; i++)
            {
                result[i] = input.ReadString();
            }
            return(result);
        }
Ejemplo n.º 14
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     _result = HttpProcessor.GetClient <MemberServiceSoapClient>(session).GetTagID(
         input.ReadString(),
         input.ReadString());
 }
Ejemplo n.º 15
0
 public void Invoke(HttpSessionState session, DataInputStream input)
 {
     HttpProcessor.GetClient <MemberServiceSoapClient>(session).RemindPassword(
         input.ReadString());
 }