public System.IAsyncResult BeginGetLastMessages(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = clientInfo; System.IAsyncResult _result = base.BeginInvoke("GetLastMessages", _args, callback, asyncState); return(_result); }
private System.IAsyncResult OnBeginSendMessage(object[] inValues, System.AsyncCallback callback, object asyncState) { mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo = ((mpost.WP7.PushServiceClient.WcfPushService.ClientInfo)(inValues[0])); string msg = ((string)(inValues[1])); return(((mpost.WP7.PushServiceClient.WcfPushService.IPush)(this)).BeginSendMessage(clientInfo, msg, callback, asyncState)); }
public System.IAsyncResult BeginSendMessage(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string msg, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = clientInfo; _args[1] = msg; System.IAsyncResult _result = base.BeginInvoke("SendMessage", _args, callback, asyncState); return(_result); }
private System.IAsyncResult OnBeginConnect(object[] inValues, System.AsyncCallback callback, object asyncState) { mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo = ((mpost.WP7.PushServiceClient.WcfPushService.ClientInfo)(inValues[0])); string application = ((string)(inValues[1])); int type = ((int)(inValues[2])); bool availableRandom = ((bool)(inValues[3])); return(((mpost.WP7.PushServiceClient.WcfPushService.IPush)(this)).BeginConnect(clientInfo, application, type, availableRandom, callback, asyncState)); }
public System.IAsyncResult BeginConnect(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string application, int type, bool availableRandom, System.AsyncCallback callback, object asyncState) { object[] _args = new object[4]; _args[0] = clientInfo; _args[1] = application; _args[2] = type; _args[3] = availableRandom; System.IAsyncResult _result = base.BeginInvoke("Connect", _args, callback, asyncState); return(_result); }
public void GetLastMessagesAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, object userState) { if ((this.onBeginGetLastMessagesDelegate == null)) { this.onBeginGetLastMessagesDelegate = new BeginOperationDelegate(this.OnBeginGetLastMessages); } if ((this.onEndGetLastMessagesDelegate == null)) { this.onEndGetLastMessagesDelegate = new EndOperationDelegate(this.OnEndGetLastMessages); } if ((this.onGetLastMessagesCompletedDelegate == null)) { this.onGetLastMessagesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLastMessagesCompleted); } base.InvokeAsync(this.onBeginGetLastMessagesDelegate, new object[] { clientInfo }, this.onEndGetLastMessagesDelegate, this.onGetLastMessagesCompletedDelegate, userState); }
public void SendMessageAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string msg, object userState) { if ((this.onBeginSendMessageDelegate == null)) { this.onBeginSendMessageDelegate = new BeginOperationDelegate(this.OnBeginSendMessage); } if ((this.onEndSendMessageDelegate == null)) { this.onEndSendMessageDelegate = new EndOperationDelegate(this.OnEndSendMessage); } if ((this.onSendMessageCompletedDelegate == null)) { this.onSendMessageCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendMessageCompleted); } base.InvokeAsync(this.onBeginSendMessageDelegate, new object[] { clientInfo, msg }, this.onEndSendMessageDelegate, this.onSendMessageCompletedDelegate, userState); }
public void ConnectAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string application, int type, bool availableRandom, object userState) { if ((this.onBeginConnectDelegate == null)) { this.onBeginConnectDelegate = new BeginOperationDelegate(this.OnBeginConnect); } if ((this.onEndConnectDelegate == null)) { this.onEndConnectDelegate = new EndOperationDelegate(this.OnEndConnect); } if ((this.onConnectCompletedDelegate == null)) { this.onConnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConnectCompleted); } base.InvokeAsync(this.onBeginConnectDelegate, new object[] { clientInfo, application, type, availableRandom }, this.onEndConnectDelegate, this.onConnectCompletedDelegate, userState); }
public void GetLastMessagesAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo) { this.GetLastMessagesAsync(clientInfo, null); }
private System.IAsyncResult OnBeginGetLastMessages(object[] inValues, System.AsyncCallback callback, object asyncState) { mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo = ((mpost.WP7.PushServiceClient.WcfPushService.ClientInfo)(inValues[0])); return(((mpost.WP7.PushServiceClient.WcfPushService.IPush)(this)).BeginGetLastMessages(clientInfo, callback, asyncState)); }
System.IAsyncResult mpost.WP7.PushServiceClient.WcfPushService.IPush.BeginGetLastMessages(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginGetLastMessages(clientInfo, callback, asyncState)); }
public void SendMessageAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string msg) { this.SendMessageAsync(clientInfo, msg, null); }
System.IAsyncResult mpost.WP7.PushServiceClient.WcfPushService.IPush.BeginSendMessage(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string msg, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginSendMessage(clientInfo, msg, callback, asyncState)); }
public void JoinChannelAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo) { this.JoinChannelAsync(clientInfo, null); }
public void ConnectAsync(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string application, int type, bool availableRandom) { this.ConnectAsync(clientInfo, application, type, availableRandom, null); }
System.IAsyncResult mpost.WP7.PushServiceClient.WcfPushService.IPush.BeginConnect(mpost.WP7.PushServiceClient.WcfPushService.ClientInfo clientInfo, string application, int type, bool availableRandom, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginConnect(clientInfo, application, type, availableRandom, callback, asyncState)); }