/lib/docs/org/apache/xmlrpc/server/XmlRpcServerWorker.html
HTML | 304 lines | 248 code | 34 blank | 22 comment | 0 complexity | 12e18b7ac6607a51109491235262dc05 MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_0) on Mon Apr 20 21:46:00 CEST 2009 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8XmlRpcServerWorker (Apache XML-RPC 3.1.2 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2009-04-20"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="XmlRpcServerWorker (Apache XML-RPC 3.1.2 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcServerWorker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerConfigImpl.html" title="class in org.apache.xmlrpc.server"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorkerFactory.html" title="class in org.apache.xmlrpc.server"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?org/apache/xmlrpc/server/XmlRpcServerWorker.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="XmlRpcServerWorker.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92org.apache.xmlrpc.server</FONT> 93<BR> 94Class XmlRpcServerWorker</H2> 95<PRE> 96java.lang.Object 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.server.XmlRpcServerWorker</B> 98</PRE> 99<DL> 100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html" title="interface in org.apache.xmlrpc.common">XmlRpcWorker</A></DD> 101</DL> 102<HR> 103<DL> 104<DT><PRE>public class <B>XmlRpcServerWorker</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html" title="interface in org.apache.xmlrpc.common">XmlRpcWorker</A></DL> 105</PRE> 106 107<P> 108Server specific implementation of <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html" title="interface in org.apache.xmlrpc.common"><CODE>XmlRpcWorker</CODE></A>. 109<P> 110 111<P> 112<HR> 113 114<P> 115 116<!-- ======== CONSTRUCTOR SUMMARY ======== --> 117 118<A NAME="constructor_summary"><!-- --></A> 119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 121<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 122<B>Constructor Summary</B></FONT></TH> 123</TR> 124<TR BGCOLOR="white" CLASS="TableRowColor"> 125<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorker.html#XmlRpcServerWorker(org.apache.xmlrpc.server.XmlRpcServerWorkerFactory)">XmlRpcServerWorker</A></B>(<A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorkerFactory.html" title="class in org.apache.xmlrpc.server">XmlRpcServerWorkerFactory</A> pFactory)</CODE> 126 127<BR> 128 Creates a new instance.</TD> 129</TR> 130</TABLE> 131 132<!-- ========== METHOD SUMMARY =========== --> 133 134<A NAME="method_summary"><!-- --></A> 135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 136<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 137<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 138<B>Method Summary</B></FONT></TH> 139</TR> 140<TR BGCOLOR="white" CLASS="TableRowColor"> 141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 142<CODE> java.lang.Object</CODE></FONT></TD> 143<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorker.html#execute(org.apache.xmlrpc.XmlRpcRequest)">execute</A></B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest)</CODE> 144 145<BR> 146 Performs a synchronous request.</TD> 147</TR> 148<TR BGCOLOR="white" CLASS="TableRowColor"> 149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 150<CODE> <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common">XmlRpcController</A></CODE></FONT></TD> 151<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorker.html#getController()">getController</A></B>()</CODE> 152 153<BR> 154 Returns the workers controller.</TD> 155</TR> 156</TABLE> 157 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 158<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 159<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 160<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 164</TR> 165</TABLE> 166 167<P> 168 169<!-- ========= CONSTRUCTOR DETAIL ======== --> 170 171<A NAME="constructor_detail"><!-- --></A> 172<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 173<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 174<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 175<B>Constructor Detail</B></FONT></TH> 176</TR> 177</TABLE> 178 179<A NAME="XmlRpcServerWorker(org.apache.xmlrpc.server.XmlRpcServerWorkerFactory)"><!-- --></A><H3> 180XmlRpcServerWorker</H3> 181<PRE> 182public <B>XmlRpcServerWorker</B>(<A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorkerFactory.html" title="class in org.apache.xmlrpc.server">XmlRpcServerWorkerFactory</A> pFactory)</PRE> 183<DL> 184<DD>Creates a new instance. 185<P> 186<DL> 187<DT><B>Parameters:</B><DD><CODE>pFactory</CODE> - The factory creating the worker.</DL> 188</DL> 189 190<!-- ============ METHOD DETAIL ========== --> 191 192<A NAME="method_detail"><!-- --></A> 193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 194<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 195<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 196<B>Method Detail</B></FONT></TH> 197</TR> 198</TABLE> 199 200<A NAME="getController()"><!-- --></A><H3> 201getController</H3> 202<PRE> 203public <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common">XmlRpcController</A> <B>getController</B>()</PRE> 204<DL> 205<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html#getController()">XmlRpcWorker</A></CODE></B></DD> 206<DD>Returns the workers controller. 207<P> 208<DD><DL> 209<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html#getController()">getController</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html" title="interface in org.apache.xmlrpc.common">XmlRpcWorker</A></CODE></DL> 210</DD> 211<DD><DL> 212 213<DT><B>Returns:</B><DD>The controller, an instance of 214 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client"><CODE>XmlRpcClient</CODE></A>, or 215 <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServer.html" title="class in org.apache.xmlrpc.server"><CODE>XmlRpcServer</CODE></A>.</DL> 216</DD> 217</DL> 218<HR> 219 220<A NAME="execute(org.apache.xmlrpc.XmlRpcRequest)"><!-- --></A><H3> 221execute</H3> 222<PRE> 223public java.lang.Object <B>execute</B>(<A HREF="../../../../org/apache/xmlrpc/XmlRpcRequest.html" title="interface in org.apache.xmlrpc">XmlRpcRequest</A> pRequest) 224 throws <A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></PRE> 225<DL> 226<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html#execute(org.apache.xmlrpc.XmlRpcRequest)">XmlRpcWorker</A></CODE></B></DD> 227<DD>Performs a synchronous request. The client worker extends 228 this interface with the ability to perform asynchronous 229 requests. 230<P> 231<DD><DL> 232<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html#execute(org.apache.xmlrpc.XmlRpcRequest)">execute</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/common/XmlRpcWorker.html" title="interface in org.apache.xmlrpc.common">XmlRpcWorker</A></CODE></DL> 233</DD> 234<DD><DL> 235<DT><B>Parameters:</B><DD><CODE>pRequest</CODE> - The request being performed. 236<DT><B>Returns:</B><DD>The requests result. 237<DT><B>Throws:</B> 238<DD><CODE><A HREF="../../../../org/apache/xmlrpc/XmlRpcException.html" title="class in org.apache.xmlrpc">XmlRpcException</A></CODE> - Performing the request failed.</DL> 239</DD> 240</DL> 241<!-- ========= END OF CLASS DATA ========= --> 242<HR> 243 244 245<!-- ======= START OF BOTTOM NAVBAR ====== --> 246<A NAME="navbar_bottom"><!-- --></A> 247<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 248<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 249<TR> 250<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 251<A NAME="navbar_bottom_firstrow"><!-- --></A> 252<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 253 <TR ALIGN="center" VALIGN="top"> 254 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 255 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 256 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 257 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcServerWorker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 258 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 259 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 260 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 261 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 262 </TR> 263</TABLE> 264</TD> 265<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 266</EM> 267</TD> 268</TR> 269 270<TR> 271<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 272 <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerConfigImpl.html" title="class in org.apache.xmlrpc.server"><B>PREV CLASS</B></A> 273 <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServerWorkerFactory.html" title="class in org.apache.xmlrpc.server"><B>NEXT CLASS</B></A></FONT></TD> 274<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 275 <A HREF="../../../../index.html?org/apache/xmlrpc/server/XmlRpcServerWorker.html" target="_top"><B>FRAMES</B></A> 276 <A HREF="XmlRpcServerWorker.html" target="_top"><B>NO FRAMES</B></A> 277 <SCRIPT type="text/javascript"> 278 <!-- 279 if(window==top) { 280 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 281 } 282 //--> 283</SCRIPT> 284<NOSCRIPT> 285 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 286</NOSCRIPT> 287 288 289</FONT></TD> 290</TR> 291<TR> 292<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 293 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 294<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 295DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 296</TR> 297</TABLE> 298<A NAME="skip-navbar_bottom"></A> 299<!-- ======== END OF BOTTOM NAVBAR ======= --> 300 301<HR> 302Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 303</BODY> 304</HTML>