-
Notifications
You must be signed in to change notification settings - Fork 7
/
XmlRpcCS.html
2034 lines (1032 loc) · 75.4 KB
/
XmlRpcCS.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<html>
<header>
<title>Assembly: XmlRpcCS</title>
</header>
<body>
<A name="index">
</A>
<TABLE cellspacing="0" cellpadding="10" width="100%" BGCOLOR="#9999FF" border="1">
<TR>
<TD WIDTH="100%" ALIGN="LEFT">
<H1>Assmebly: XmlRpcCS</H1>
</TD>
</TR>
</TABLE>
<table border="0" width="100%">
<tr>
<td bgcolor="#000000" width="100%">
<h2>
<font color="#FFFFFF">Class Index</font>
</h2>
</td>
</tr>
</table>
<table cellspacing="5">
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.Context">Nwc.XmlRpc.Context</a>
</td>
<td>Parser context, we maintain contexts in a stack to avoiding recursion. </td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.Logger">Nwc.XmlRpc.Logger</a>
</td>
<td>
Logging singleton with swappable output delegate.
</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.Logger.LoggerDelegate">Nwc.XmlRpc.Logger.LoggerDelegate</a>
</td>
<td>Delegate definition for logging.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.LogLevel">Nwc.XmlRpc.LogLevel</a>
</td>
<td>Define levels of logging.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.SimpleHttpRequest">Nwc.XmlRpc.SimpleHttpRequest</a>
</td>
<td>Very basic HTTP request handler.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcBoxcarRequest">Nwc.XmlRpc.XmlRpcBoxcarRequest</a>
</td>
<td>Class that collects individual <CODE>XmlRpcRequest</CODE> objects and submits them as a boxcarred request.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcClientProxy">Nwc.XmlRpc.XmlRpcClientProxy</a>
</td>
<td>This class provides support for creating local proxies of XML-RPC remote objects</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcDeserializer">Nwc.XmlRpc.XmlRpcDeserializer</a>
</td>
<td>Basic XML-RPC data deserializer.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcErrorCodes">Nwc.XmlRpc.XmlRpcErrorCodes</a>
</td>
<td>Standard XML-RPC error codes.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcException">Nwc.XmlRpc.XmlRpcException</a>
</td>
<td>An XML-RPC Exception.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcExposedAttribute">Nwc.XmlRpc.XmlRpcExposedAttribute</a>
</td>
<td>
Simple tagging attribute to indicate participation is XML-RPC exposure.
</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcRequest">Nwc.XmlRpc.XmlRpcRequest</a>
</td>
<td>Class supporting the request side of an XML-RPC transaction.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcRequestDeserializer">Nwc.XmlRpc.XmlRpcRequestDeserializer</a>
</td>
<td>Class to deserialize XML data representing a request.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcRequestSerializer">Nwc.XmlRpc.XmlRpcRequestSerializer</a>
</td>
<td>Class responsible for serializing an XML-RPC request.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcResponder">Nwc.XmlRpc.XmlRpcResponder</a>
</td>
<td>The class is a container of the context of an XML-RPC dialog on the server side.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcResponse">Nwc.XmlRpc.XmlRpcResponse</a>
</td>
<td>Class designed to represent an XML-RPC response.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcResponseDeserializer">Nwc.XmlRpc.XmlRpcResponseDeserializer</a>
</td>
<td>Class to deserialize XML data representing a response.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcResponseSerializer">Nwc.XmlRpc.XmlRpcResponseSerializer</a>
</td>
<td>Class responsible for serializing an XML-RPC response.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcSerializer">Nwc.XmlRpc.XmlRpcSerializer</a>
</td>
<td>Base class of classes serializing data to XML-RPC's XML format.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcServer">Nwc.XmlRpc.XmlRpcServer</a>
</td>
<td>A restricted HTTP server for use with XML-RPC.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcSystemObject">Nwc.XmlRpc.XmlRpcSystemObject</a>
</td>
<td> XML-RPC System object implementation of extended specifications.</td>
</tr>
<tr>
<td valign="top">
<a href="#T:Nwc.XmlRpc.XmlRpcXmlTokens">Nwc.XmlRpc.XmlRpcXmlTokens</a>
</td>
<td>Class collecting <CODE>String</CODE> tokens that are part of XML-RPC files.</td>
</tr>
</table>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.Context"></a><h2>Class Nwc.XmlRpc.Context
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Parser context, we maintain contexts in a stack to avoiding recursion.
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.Logger"></a><h2>Class Nwc.XmlRpc.Logger
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Logging singleton with swappable output delegate.
This singleton provides a centralized log. The actual WriteEntry calls are passed
off to a delegate however. Having a delegate do the actual logginh allows you to
implement different logging mechanism and have them take effect throughout the system.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Fields</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.Logger.Delegate"></a><i><b>Delegate</b></i></td>
<td ALIGN="LEFT">
The LoggerDelegate that will recieve WriteEntry requests.
</td>
</tr>
</table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Methods</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.Logger.WriteEntry(System.String,Nwc.XmlRpc.LogLevel)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>WriteEntry(System.String,Nwc.XmlRpc.LogLevel)</b></td></tr></table>
Method logging events are sent to.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>message</i></td><td>The message <CODE>String</CODE> to log.</td></tr><tr><td><i>level</i></td><td>The <CODE>LogLevel</CODE> of your message.</td></tr></table>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.Logger.LoggerDelegate"></a><h2>Class Nwc.XmlRpc.Logger.LoggerDelegate
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Delegate definition for logging.
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.LogLevel"></a><h2>Class Nwc.XmlRpc.LogLevel
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Define levels of logging. This duplicates
similar enumerations in System.Diagnostics.EventLogEntryType. The
duplication was merited because .NET Compact Framework lacked the EventLogEntryType enum.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Fields</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.LogLevel.Error"></a><i><b>Error</b></i></td>
<td ALIGN="LEFT">
Error level, implies a significant problem.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.LogLevel.Information"></a><i><b>Information</b></i></td>
<td ALIGN="LEFT">
Information level, log entry for informational reasons only.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.LogLevel.Warning"></a><i><b>Warning</b></i></td>
<td ALIGN="LEFT">
Warning level, indicates a possible problem.
</td>
</tr>
</table>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.SimpleHttpRequest"></a><h2>Class Nwc.XmlRpc.SimpleHttpRequest
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Very basic HTTP request handler. This class is designed to accept a TcpClient and treat it as an HTTP request.
It will do some basic header parsing and manage the input and output streams associated
with the request.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Properties</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.Client"></a><i><b>Client</b></i></td>
<td ALIGN="LEFT">
The <CODE>TcpClient</CODE> with the request.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.FilePath"></a><i><b>FilePath</b></i></td>
<td ALIGN="LEFT">
The "path" which is part of any HTTP request.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.FilePathDir"></a><i><b>FilePathDir</b></i></td>
<td ALIGN="LEFT">
The directory portion of the "path" which is part of any HTTP request.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.FilePathFile"></a><i><b>FilePathFile</b></i></td>
<td ALIGN="LEFT">
The file portion of the "path" which is part of any HTTP request.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.HttpMethod"></a><i><b>HttpMethod</b></i></td>
<td ALIGN="LEFT">
The type of HTTP request (i.e. PUT, GET, etc.).
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.Input"></a><i><b>Input</b></i></td>
<td ALIGN="LEFT">
The input <CODE>StreamReader</CODE> associated with the request.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.Output"></a><i><b>Output</b></i></td>
<td ALIGN="LEFT">
The output <CODE>StreamWriter</CODE> associated with the request.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.SimpleHttpRequest.Protocol"></a><i><b>Protocol</b></i></td>
<td ALIGN="LEFT">
The level of the HTTP protocol.
</td>
</tr>
</table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Constructors</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.SimpleHttpRequest.#ctor(System.Net.Sockets.TcpClient)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>SimpleHttpRequest(System.Net.Sockets.TcpClient)</b></td></tr></table>
A constructor which accepts the TcpClient. It creates the associated input and output streams, determines the request type,
and parses the remaining HTTP header.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>client</i></td><td>The <CODE>TcpClient</CODE> associated with the HTTP connection.</td></tr></table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Methods</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.SimpleHttpRequest.Close"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>Close ( )</b></td></tr></table>
Close the <CODE>SimpleHttpRequest</CODE> . This flushes and closes all associated io streams.
<br>
<a name="M:Nwc.XmlRpc.SimpleHttpRequest.ToString"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>ToString ( )</b></td></tr></table>
Format the object contents into a useful string representation.
<br><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>String</CODE> representation of the <CODE>SimpleHttpRequest</CODE> as the HttpMethod FilePath Protocol.</td></tr></table>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcBoxcarRequest"></a><h2>Class Nwc.XmlRpc.XmlRpcBoxcarRequest
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Class that collects individual <CODE>XmlRpcRequest</CODE> objects and submits them as a boxcarred request. A boxcared request is when a number of request are collected before being sent via XML-RPC, and then are sent via
a single HTTP connection. This results in a speed up from reduced connection time. The results are then retuned collectively
as well.
<br><b>See Also:</b> <a href="#T:Nwc.XmlRpc.XmlRpcRequest">Nwc.XmlRpc.XmlRpcRequest</a>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Fields</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcBoxcarRequest.Requests"></a><i><b>Requests</b></i></td>
<td ALIGN="LEFT">
ArrayList to collect the requests to boxcar.
</td>
</tr>
</table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Properties</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.XmlRpcBoxcarRequest.MethodName"></a><i><b>MethodName</b></i></td>
<td ALIGN="LEFT">
Returns the <CODE>String</CODE> "system.multiCall" which is the server method that handles boxcars.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.XmlRpcBoxcarRequest.Params"></a><i><b>Params</b></i></td>
<td ALIGN="LEFT">
The <CODE>ArrayList</CODE> of boxcarred <I>Requests</I> as properly formed parameters.
</td>
</tr>
</table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Constructors</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcBoxcarRequest.#ctor"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>XmlRpcBoxcarRequest ( )</b></td></tr></table>
Basic constructor.
<br>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcClientProxy"></a><h2>Class Nwc.XmlRpc.XmlRpcClientProxy
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
This class provides support for creating local proxies of XML-RPC remote objects
To create a local proxy you need to create a local C# interface and then, via createProxy
associate that interface with a remote object at a given URL.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Methods</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcClientProxy.createProxy(System.String,System.String,System.Type)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>createProxy(System.String,System.String,System.Type)</b></td></tr></table>
Factory method to create proxies.
To create a local proxy you need to create a local C# interface with methods that mirror those of the server object.
Next, pass that interface into <CODE>createProxy</CODE> along with the object name and URL of the remote object and
cast the resulting object to the specifice interface.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>remoteObjectName</i></td><td> <CODE>String</CODE> The name of the remote object.</td></tr><tr><td><i>url</i></td><td> <CODE>String</CODE> The URL of the remote object.</td></tr><tr><td><i>anInterface</i></td><td> <CODE>Type</CODE> The typeof() of a C# interface.</td></tr></table><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>Object</CODE> A proxy for your specified interface. Cast to appropriate type.</td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcClientProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>Invoke(System.Runtime.Remoting.Messaging.IMessage)</b></td></tr></table>
The local method dispatcher - do not invoke.
<br>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcDeserializer"></a><h2>Class Nwc.XmlRpc.XmlRpcDeserializer
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Basic XML-RPC data deserializer. Uses <CODE>XmlTextReader</CODE> to parse the XML data. This level of the class
only handles the tokens common to both Requests and Responses. This class is not useful in and of itself
but is designed to be subclassed.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Fields</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcDeserializer._name"></a><i><b>_name</b></i></td>
<td ALIGN="LEFT">
Protected reference to last name field.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcDeserializer._text"></a><i><b>_text</b></i></td>
<td ALIGN="LEFT">
Protected reference to last text.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcDeserializer._value"></a><i><b>_value</b></i></td>
<td ALIGN="LEFT">
Protected reference to last deserialized value.
</td>
</tr>
</table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Constructors</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.#ctor"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>XmlRpcDeserializer ( )</b></td></tr></table>
Basic constructor.
<br>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Methods</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.Deserialize(System.IO.TextReader)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>Deserialize(System.IO.TextReader)</b></td></tr></table>
Static method that parses XML data into a response using the Singleton.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>xmlData</i></td><td> <CODE>StreamReader</CODE> containing an XML-RPC response.</td></tr></table><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>Object</CODE> object resulting from the deserialization.</td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.Deserialize(System.String)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>Deserialize(System.String)</b></td></tr></table>
Static method that parses XML in a <CODE>String</CODE> into a
request using the Singleton.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>xmlData</i></td><td> <CODE>String</CODE> containing an XML-RPC request.</td></tr></table><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>XmlRpcRequest</CODE> object resulting from the parse.</td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.DeserializeNode(System.Xml.XmlTextReader)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>DeserializeNode(System.Xml.XmlTextReader)</b></td></tr></table>
Protected method to parse a node in an XML-RPC XML stream. Method deals with elements common to all XML-RPC data, subclasses of
this object deal with request/response spefic elements.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>reader</i></td><td> <CODE>XmlTextReader</CODE> of the in progress parsing data stream.</td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.PopContext"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>PopContext ( )</b></td></tr></table>
Pop a Context of the stack, an Array or Struct has closed.
<br>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.PushContext"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>PushContext ( )</b></td></tr></table>
Push a Context on the stack, an Array or Struct has opened.
<br>
<a name="M:Nwc.XmlRpc.XmlRpcDeserializer.Reset"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>Reset ( )</b></td></tr></table>
Reset the internal state of the deserializer.
<br>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcErrorCodes"></a><h2>Class Nwc.XmlRpc.XmlRpcErrorCodes
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Standard XML-RPC error codes.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Fields</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.APPLICATION_ERROR"></a><i><b>APPLICATION_ERROR</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.APPLICATION_ERROR_MSG"></a><i><b>APPLICATION_ERROR_MSG</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.PARSE_ERROR_ENCODING"></a><i><b>PARSE_ERROR_ENCODING</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.PARSE_ERROR_ENCODING_MSG"></a><i><b>PARSE_ERROR_ENCODING_MSG</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.PARSE_ERROR_MALFORMED"></a><i><b>PARSE_ERROR_MALFORMED</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.PARSE_ERROR_MALFORMED_MSG"></a><i><b>PARSE_ERROR_MALFORMED_MSG</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.SERVER_ERROR_METHOD"></a><i><b>SERVER_ERROR_METHOD</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.SERVER_ERROR_METHOD_MSG"></a><i><b>SERVER_ERROR_METHOD_MSG</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.SERVER_ERROR_PARAMS"></a><i><b>SERVER_ERROR_PARAMS</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.SERVER_ERROR_PARAMS_MSG"></a><i><b>SERVER_ERROR_PARAMS_MSG</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.TRANSPORT_ERROR"></a><i><b>TRANSPORT_ERROR</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="F:Nwc.XmlRpc.XmlRpcErrorCodes.TRANSPORT_ERROR_MSG"></a><i><b>TRANSPORT_ERROR_MSG</b></i></td>
<td ALIGN="LEFT">
</td>
</tr>
</table>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcException"></a><h2>Class Nwc.XmlRpc.XmlRpcException
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
An XML-RPC Exception. Maps a C# exception to an XML-RPC fault. Normal exceptions
include a message so this adds the code needed by XML-RPC.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Properties</h3></td></tr></table>
<table>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.XmlRpcException.FaultCode"></a><i><b>FaultCode</b></i></td>
<td ALIGN="LEFT">
The value of the faults code, i.e. the faultCode.
</td>
</tr>
<tr>
<td ALIGN="LEFT" VALIGN="TOP"><a name="P:Nwc.XmlRpc.XmlRpcException.FaultString"></a><i><b>FaultString</b></i></td>
<td ALIGN="LEFT">
The value of the faults message, i.e. the faultString.
</td>
</tr>
</table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Constructors</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcException.#ctor(System.Int32,System.String)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>XmlRpcException(System.Int32,System.String)</b></td></tr></table>
Instantiate an <CODE>XmlRpcException</CODE> with a code and message.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>code</i></td><td> <CODE>Int</CODE> faultCode associated with this exception.</td></tr><tr><td><i>message</i></td><td> <CODE>String</CODE> faultMessage associated with this exception.</td></tr></table>
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Methods</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcException.ToString"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>ToString ( )</b></td></tr></table>
Format the message to include the code.
<br>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcExposedAttribute"></a><h2>Class Nwc.XmlRpc.XmlRpcExposedAttribute
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>
</table>
Simple tagging attribute to indicate participation is XML-RPC exposure.
If present at the class level it indicates that this class does explicitly
expose methods. If present at the method level it denotes that the method
is exposed.
<table border="1" bgcolor="#CCCCFF" width="100%" cellspacing="0"><tr><td bgcolor="#CCCCFF" width="100%"><h3>Public Methods</h3></td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcExposedAttribute.ExposedMethod(System.Object,System.String)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>ExposedMethod(System.Object,System.String)</b></td></tr></table>
Check if <I>obj</I> . <I>methodName</I> is an XML-RPC exposed method. A method is considered to be exposed if it exists and, either, the object does not use the XmlRpcExposed attribute,
or the object does use the XmlRpcExposed attribute and the method has the XmlRpcExposed attribute as well.
<br><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>Boolean</CODE> true if the method is exposed.</td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcExposedAttribute.ExposedObject(System.Object)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>ExposedObject(System.Object)</b></td></tr></table>
Check if <I>obj</I> is an object utilizing the XML-RPC exposed Attribute.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>obj</i></td><td> <CODE>Object</CODE> of a class or method to check for attribute.</td></tr></table><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>Boolean</CODE> true if attribute present.</td></tr></table>
<a name="M:Nwc.XmlRpc.XmlRpcExposedAttribute.IsExposed(System.Reflection.MemberInfo)"></a><table border="1" bgcolor="#EEEEFF" width="100%" cellspacing="0"><tr><td bgcolor="#EEEEFF" width="100%"><b>IsExposed(System.Reflection.MemberInfo)</b></td></tr></table>
Check if <I>mi</I> is XML-RPC exposed.
<br><table cellspacing="5" border="0"><tr><td><i><b>Parameters</b></i></td></tr><tr><td><i>mi</i></td><td> <CODE>MemberInfo</CODE> of a class or method to check for attribute.</td></tr></table><table cellspacing="5" border="0"><tr><td><i><b>Returns</b></i></td></tr><tr><td> <CODE>Boolean</CODE> true if attribute present.</td></tr></table>
<table border="1" bgcolor="#AAAAFF" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td bgcolor="#AAAAFF" width="90%"><a name="T:Nwc.XmlRpc.XmlRpcRequest"></a><h2>Class Nwc.XmlRpc.XmlRpcRequest
</h2></td><td bgcolor="#000000" width="10%" align="center"><a href="#index"><font color="#FFFFFF">Class Index</font></a></td>
</tr>