source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/ipc/RPC.Server.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 22.8 KB
Line 
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_07) on Tue Sep 01 20:56:54 UTC 2009 -->
6<TITLE>
7RPC.Server (Hadoop 0.20.1 API)
8</TITLE>
9
10<META NAME="date" CONTENT="2009-09-01">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="RPC.Server (Hadoop 0.20.1 API)";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RPC.Server.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../org/apache/hadoop/ipc/RPC.html" title="class in org.apache.hadoop.ipc"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../org/apache/hadoop/ipc/RPC.VersionMismatch.html" title="class in org.apache.hadoop.ipc"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?org/apache/hadoop/ipc/RPC.Server.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="RPC.Server.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.hadoop.ipc.Server">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.hadoop.ipc</FONT>
92<BR>
93Class RPC.Server</H2>
94<PRE>
95<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/hadoop/ipc/Server.html" title="class in org.apache.hadoop.ipc">org.apache.hadoop.ipc.Server</A>
97      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.ipc.RPC.Server</B>
98</PRE>
99<DL>
100<DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/hadoop/ipc/RPC.html" title="class in org.apache.hadoop.ipc">RPC</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public static class <B>RPC.Server</B><DT>extends <A HREF="../../../../org/apache/hadoop/ipc/Server.html" title="class in org.apache.hadoop.ipc">Server</A></DL>
105</PRE>
106
107<P>
108An RPC Server.
109<P>
110
111<P>
112<HR>
113
114<P>
115<!-- =========== FIELD SUMMARY =========== -->
116
117<A NAME="field_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Field Summary</B></FONT></TH>
122</TR>
123</TABLE>
124&nbsp;<A NAME="fields_inherited_from_class_org.apache.hadoop.ipc.Server"><!-- --></A>
125<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
127<TH ALIGN="left"><B>Fields inherited from class org.apache.hadoop.ipc.<A HREF="../../../../org/apache/hadoop/ipc/Server.html" title="class in org.apache.hadoop.ipc">Server</A></B></TH>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD><CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html#CURRENT_VERSION">CURRENT_VERSION</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#HEADER">HEADER</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#LOG">LOG</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#rpcMetrics">rpcMetrics</A></CODE></TD>
131</TR>
132</TABLE>
133&nbsp;
134<!-- ======== CONSTRUCTOR SUMMARY ======== -->
135
136<A NAME="constructor_summary"><!-- --></A>
137<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140<B>Constructor Summary</B></FONT></TH>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD><CODE><B><A HREF="../../../../org/apache/hadoop/ipc/RPC.Server.html#RPC.Server(java.lang.Object, org.apache.hadoop.conf.Configuration, java.lang.String, int)">RPC.Server</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;instance,
144           <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf,
145           <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;bindAddress,
146           int&nbsp;port)</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an RPC server.</TD>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD><CODE><B><A HREF="../../../../org/apache/hadoop/ipc/RPC.Server.html#RPC.Server(java.lang.Object, org.apache.hadoop.conf.Configuration, java.lang.String, int, int, boolean)">RPC.Server</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;instance,
153           <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf,
154           <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;bindAddress,
155           int&nbsp;port,
156           int&nbsp;numHandlers,
157           boolean&nbsp;verbose)</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an RPC server.</TD>
161</TR>
162</TABLE>
163&nbsp;
164<!-- ========== METHOD SUMMARY =========== -->
165
166<A NAME="method_summary"><!-- --></A>
167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
170<B>Method Summary</B></FONT></TH>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>&nbsp;void</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../org/apache/hadoop/ipc/RPC.Server.html#authorize(javax.security.auth.Subject, org.apache.hadoop.ipc.ConnectionHeader)">authorize</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth">Subject</A>&nbsp;user,
176          org.apache.hadoop.ipc.ConnectionHeader&nbsp;connection)</CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorize the incoming client connection.</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../org/apache/hadoop/ipc/RPC.Server.html#call(java.lang.Class, org.apache.hadoop.io.Writable, long)">call</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;protocol,
185     <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>&nbsp;param,
186     long&nbsp;receivedTime)</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called for each call.</TD>
190</TR>
191</TABLE>
192&nbsp;<A NAME="methods_inherited_from_class_org.apache.hadoop.ipc.Server"><!-- --></A>
193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
195<TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.ipc.<A HREF="../../../../org/apache/hadoop/ipc/Server.html" title="class in org.apache.hadoop.ipc">Server</A></B></TH>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD><CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html#bind(java.net.ServerSocket, java.net.InetSocketAddress, int)">bind</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#call(org.apache.hadoop.io.Writable, long)">call</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#get()">get</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#getCallQueueLen()">getCallQueueLen</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#getListenerAddress()">getListenerAddress</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#getNumOpenConnections()">getNumOpenConnections</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#getRemoteAddress()">getRemoteAddress</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#getRemoteIp()">getRemoteIp</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#join()">join</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#setSocketSendBufSize(int)">setSocketSendBufSize</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#start()">start</A>, <A HREF="../../../../org/apache/hadoop/ipc/Server.html#stop()">stop</A></CODE></TD>
199</TR>
200</TABLE>
201&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
202<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
204<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
208</TR>
209</TABLE>
210&nbsp;
211<P>
212
213<!-- ========= CONSTRUCTOR DETAIL ======== -->
214
215<A NAME="constructor_detail"><!-- --></A>
216<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
217<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
218<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
219<B>Constructor Detail</B></FONT></TH>
220</TR>
221</TABLE>
222
223<A NAME="RPC.Server(java.lang.Object, org.apache.hadoop.conf.Configuration, java.lang.String, int)"><!-- --></A><H3>
224RPC.Server</H3>
225<PRE>
226public <B>RPC.Server</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;instance,
227                  <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf,
228                  <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;bindAddress,
229                  int&nbsp;port)
230           throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
231<DL>
232<DD>Construct an RPC server.
233<P>
234<DL>
235<DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance whose methods will be called<DD><CODE>conf</CODE> - the configuration to use<DD><CODE>bindAddress</CODE> - the address to bind on to listen for connection<DD><CODE>port</CODE> - the port to listen for connections on
236<DT><B>Throws:</B>
237<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
238</DL>
239<HR>
240
241<A NAME="RPC.Server(java.lang.Object, org.apache.hadoop.conf.Configuration, java.lang.String, int, int, boolean)"><!-- --></A><H3>
242RPC.Server</H3>
243<PRE>
244public <B>RPC.Server</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;instance,
245                  <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf,
246                  <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;bindAddress,
247                  int&nbsp;port,
248                  int&nbsp;numHandlers,
249                  boolean&nbsp;verbose)
250           throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
251<DL>
252<DD>Construct an RPC server.
253<P>
254<DL>
255<DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance whose methods will be called<DD><CODE>conf</CODE> - the configuration to use<DD><CODE>bindAddress</CODE> - the address to bind on to listen for connection<DD><CODE>port</CODE> - the port to listen for connections on<DD><CODE>numHandlers</CODE> - the number of method handler threads to run<DD><CODE>verbose</CODE> - whether each call should be logged
256<DT><B>Throws:</B>
257<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
258</DL>
259
260<!-- ============ METHOD DETAIL ========== -->
261
262<A NAME="method_detail"><!-- --></A>
263<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
264<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
265<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
266<B>Method Detail</B></FONT></TH>
267</TR>
268</TABLE>
269
270<A NAME="call(java.lang.Class, org.apache.hadoop.io.Writable, long)"><!-- --></A><H3>
271call</H3>
272<PRE>
273public <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A> <B>call</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;protocol,
274                     <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>&nbsp;param,
275                     long&nbsp;receivedTime)
276              throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
277<DL>
278<DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html#call(java.lang.Class, org.apache.hadoop.io.Writable, long)">Server</A></CODE></B></DD>
279<DD>Called for each call.
280<P>
281<DD><DL>
282<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html#call(java.lang.Class, org.apache.hadoop.io.Writable, long)">call</A></CODE> in class <CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html" title="class in org.apache.hadoop.ipc">Server</A></CODE></DL>
283</DD>
284<DD><DL>
285
286<DT><B>Throws:</B>
287<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
288</DD>
289</DL>
290<HR>
291
292<A NAME="authorize(javax.security.auth.Subject, org.apache.hadoop.ipc.ConnectionHeader)"><!-- --></A><H3>
293authorize</H3>
294<PRE>
295public void <B>authorize</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth">Subject</A>&nbsp;user,
296                      org.apache.hadoop.ipc.ConnectionHeader&nbsp;connection)
297               throws <A HREF="../../../../org/apache/hadoop/security/authorize/AuthorizationException.html" title="class in org.apache.hadoop.security.authorize">AuthorizationException</A></PRE>
298<DL>
299<DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html#authorize(javax.security.auth.Subject, org.apache.hadoop.ipc.ConnectionHeader)">Server</A></CODE></B></DD>
300<DD>Authorize the incoming client connection.
301<P>
302<DD><DL>
303<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html#authorize(javax.security.auth.Subject, org.apache.hadoop.ipc.ConnectionHeader)">authorize</A></CODE> in class <CODE><A HREF="../../../../org/apache/hadoop/ipc/Server.html" title="class in org.apache.hadoop.ipc">Server</A></CODE></DL>
304</DD>
305<DD><DL>
306<DT><B>Parameters:</B><DD><CODE>user</CODE> - client user<DD><CODE>connection</CODE> - incoming connection
307<DT><B>Throws:</B>
308<DD><CODE><A HREF="../../../../org/apache/hadoop/security/authorize/AuthorizationException.html" title="class in org.apache.hadoop.security.authorize">AuthorizationException</A></CODE> - when the client isn't authorized to talk the protocol</DL>
309</DD>
310</DL>
311<!-- ========= END OF CLASS DATA ========= -->
312<HR>
313
314
315<!-- ======= START OF BOTTOM NAVBAR ====== -->
316<A NAME="navbar_bottom"><!-- --></A>
317<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
318<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
319<TR>
320<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
321<A NAME="navbar_bottom_firstrow"><!-- --></A>
322<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
323  <TR ALIGN="center" VALIGN="top">
324  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
325  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
326  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
327  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RPC.Server.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
328  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
329  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
330  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
331  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
332  </TR>
333</TABLE>
334</TD>
335<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
336</EM>
337</TD>
338</TR>
339
340<TR>
341<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
342&nbsp;<A HREF="../../../../org/apache/hadoop/ipc/RPC.html" title="class in org.apache.hadoop.ipc"><B>PREV CLASS</B></A>&nbsp;
343&nbsp;<A HREF="../../../../org/apache/hadoop/ipc/RPC.VersionMismatch.html" title="class in org.apache.hadoop.ipc"><B>NEXT CLASS</B></A></FONT></TD>
344<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
345  <A HREF="../../../../index.html?org/apache/hadoop/ipc/RPC.Server.html" target="_top"><B>FRAMES</B></A>  &nbsp;
346&nbsp;<A HREF="RPC.Server.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
347&nbsp;<SCRIPT type="text/javascript">
348  <!--
349  if(window==top) {
350    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
351  }
352  //-->
353</SCRIPT>
354<NOSCRIPT>
355  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
356</NOSCRIPT>
357
358
359</FONT></TD>
360</TR>
361<TR>
362<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
363  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.hadoop.ipc.Server">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
364<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
365DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
366</TR>
367</TABLE>
368<A NAME="skip-navbar_bottom"></A>
369<!-- ======== END OF BOTTOM NAVBAR ======= -->
370
371<HR>
372Copyright &copy; 2009 The Apache Software Foundation
373</BODY>
374</HTML>
Note: See TracBrowser for help on using the repository browser.