PageRenderTime 69ms CodeModel.GetById 16ms app.highlight 43ms RepoModel.GetById 1ms app.codeStats 1ms

/javadoc/com/googlecode/jmxtrans/util/SocketDetails.html

http://jmxtrans.googlecode.com/
HTML | 418 lines | 351 code | 45 blank | 22 comment | 0 complexity | 2f4b9af85766f0c3a19a5090f94cbcbc 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_24) on Sat Jul 02 00:53:33 PDT 2011 -->
  6<TITLE>
  7SocketDetails (jmxlogger javadoc)
  8</TITLE>
  9
 10<META NAME="date" CONTENT="2011-07-02">
 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="SocketDetails (jmxlogger javadoc)";
 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="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 47  </TR>
 48</TABLE>
 49</TD>
 50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 51</EM>
 52</TD>
 53</TR>
 54
 55<TR>
 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 57&nbsp;<A HREF="../../../../com/googlecode/jmxtrans/util/SignalInterceptor.html" title="class in com.googlecode.jmxtrans.util"><B>PREV CLASS</B></A>&nbsp;
 58&nbsp;<A HREF="../../../../com/googlecode/jmxtrans/util/SocketFactory.html" title="class in com.googlecode.jmxtrans.util"><B>NEXT CLASS</B></A></FONT></TD>
 59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 60  <A HREF="../../../../index.html?com/googlecode/jmxtrans/util/SocketDetails.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 61&nbsp;<A HREF="SocketDetails.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 62&nbsp;<SCRIPT type="text/javascript">
 63  <!--
 64  if(window==top) {
 65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 66  }
 67  //-->
 68</SCRIPT>
 69<NOSCRIPT>
 70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 71</NOSCRIPT>
 72
 73
 74</FONT></TD>
 75</TR>
 76<TR>
 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 81</TR>
 82</TABLE>
 83<A NAME="skip-navbar_top"></A>
 84<!-- ========= END OF TOP NAVBAR ========= -->
 85
 86<HR>
 87<!-- ======== START OF CLASS DATA ======== -->
 88<H2>
 89<FONT SIZE="-1">
 90com.googlecode.jmxtrans.util</FONT>
 91<BR>
 92Class SocketDetails</H2>
 93<PRE>
 94java.lang.Object
 95  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.googlecode.jmxtrans.util.SocketDetails</B>
 96</PRE>
 97<DL>
 98<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
 99</DL>
100<HR>
101<DL>
102<DT><PRE>public class <B>SocketDetails</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
103</PRE>
104
105<P>
106Class which holds the details about the socket connection. Primarily host/port.
107<P>
108
109<P>
110<DL>
111<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.googlecode.jmxtrans.util.SocketDetails">Serialized Form</A></DL>
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="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#SocketDetails(java.lang.String, int)">SocketDetails</A></B>(java.lang.String&nbsp;host,
126              int&nbsp;port)</CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130</TR>
131</TABLE>
132&nbsp;
133<!-- ========== METHOD SUMMARY =========== -->
134
135<A NAME="method_summary"><!-- --></A>
136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
139<B>Method Summary</B></FONT></TH>
140</TR>
141<TR BGCOLOR="white" CLASS="TableRowColor">
142<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143<CODE>&nbsp;boolean</CODE></FONT></TD>
144<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;o)</CODE>
145
146<BR>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>static&nbsp;<A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html" title="class in com.googlecode.jmxtrans.util">SocketDetails</A></CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#fromString(java.lang.String)">fromString</A></B>(java.lang.String&nbsp;key)</CODE>
153
154<BR>
155&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
160<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#getHost()">getHost</A></B>()</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>&nbsp;int</CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#getPort()">getPort</A></B>()</CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>&nbsp;int</CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#hashCode()">hashCode</A></B>()</CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>&nbsp;void</CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#setHost(java.lang.String)">setHost</A></B>(java.lang.String&nbsp;host)</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;void</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#setPort(int)">setPort</A></B>(int&nbsp;port)</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html#toString()">toString</A></B>()</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
204</TR>
205</TABLE>
206&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
207<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
209<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
210</TR>
211<TR BGCOLOR="white" CLASS="TableRowColor">
212<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
213</TR>
214</TABLE>
215&nbsp;
216<P>
217
218<!-- ========= CONSTRUCTOR DETAIL ======== -->
219
220<A NAME="constructor_detail"><!-- --></A>
221<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
222<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
223<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
224<B>Constructor Detail</B></FONT></TH>
225</TR>
226</TABLE>
227
228<A NAME="SocketDetails(java.lang.String, int)"><!-- --></A><H3>
229SocketDetails</H3>
230<PRE>
231public <B>SocketDetails</B>(java.lang.String&nbsp;host,
232                     int&nbsp;port)</PRE>
233<DL>
234</DL>
235
236<!-- ============ METHOD DETAIL ========== -->
237
238<A NAME="method_detail"><!-- --></A>
239<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
240<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
241<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
242<B>Method Detail</B></FONT></TH>
243</TR>
244</TABLE>
245
246<A NAME="fromString(java.lang.String)"><!-- --></A><H3>
247fromString</H3>
248<PRE>
249public static <A HREF="../../../../com/googlecode/jmxtrans/util/SocketDetails.html" title="class in com.googlecode.jmxtrans.util">SocketDetails</A> <B>fromString</B>(java.lang.String&nbsp;key)</PRE>
250<DL>
251<DD><DL>
252</DL>
253</DD>
254<DD><DL>
255</DL>
256</DD>
257</DL>
258<HR>
259
260<A NAME="getHost()"><!-- --></A><H3>
261getHost</H3>
262<PRE>
263public java.lang.String <B>getHost</B>()</PRE>
264<DL>
265<DD><DL>
266</DL>
267</DD>
268<DD><DL>
269</DL>
270</DD>
271</DL>
272<HR>
273
274<A NAME="setHost(java.lang.String)"><!-- --></A><H3>
275setHost</H3>
276<PRE>
277public void <B>setHost</B>(java.lang.String&nbsp;host)</PRE>
278<DL>
279<DD><DL>
280</DL>
281</DD>
282<DD><DL>
283</DL>
284</DD>
285</DL>
286<HR>
287
288<A NAME="getPort()"><!-- --></A><H3>
289getPort</H3>
290<PRE>
291public int <B>getPort</B>()</PRE>
292<DL>
293<DD><DL>
294</DL>
295</DD>
296<DD><DL>
297</DL>
298</DD>
299</DL>
300<HR>
301
302<A NAME="setPort(int)"><!-- --></A><H3>
303setPort</H3>
304<PRE>
305public void <B>setPort</B>(int&nbsp;port)</PRE>
306<DL>
307<DD><DL>
308</DL>
309</DD>
310<DD><DL>
311</DL>
312</DD>
313</DL>
314<HR>
315
316<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
317equals</H3>
318<PRE>
319public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE>
320<DL>
321<DD><DL>
322<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
323</DD>
324<DD><DL>
325</DL>
326</DD>
327</DL>
328<HR>
329
330<A NAME="hashCode()"><!-- --></A><H3>
331hashCode</H3>
332<PRE>
333public int <B>hashCode</B>()</PRE>
334<DL>
335<DD><DL>
336<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
337</DD>
338<DD><DL>
339</DL>
340</DD>
341</DL>
342<HR>
343
344<A NAME="toString()"><!-- --></A><H3>
345toString</H3>
346<PRE>
347public java.lang.String <B>toString</B>()</PRE>
348<DL>
349<DD><DL>
350<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
351</DD>
352<DD><DL>
353</DL>
354</DD>
355</DL>
356<!-- ========= END OF CLASS DATA ========= -->
357<HR>
358
359
360<!-- ======= START OF BOTTOM NAVBAR ====== -->
361<A NAME="navbar_bottom"><!-- --></A>
362<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
363<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
364<TR>
365<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
366<A NAME="navbar_bottom_firstrow"><!-- --></A>
367<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
368  <TR ALIGN="center" VALIGN="top">
369  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
370  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
371  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
372  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
373  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
374  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
375  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
376  </TR>
377</TABLE>
378</TD>
379<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
380</EM>
381</TD>
382</TR>
383
384<TR>
385<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
386&nbsp;<A HREF="../../../../com/googlecode/jmxtrans/util/SignalInterceptor.html" title="class in com.googlecode.jmxtrans.util"><B>PREV CLASS</B></A>&nbsp;
387&nbsp;<A HREF="../../../../com/googlecode/jmxtrans/util/SocketFactory.html" title="class in com.googlecode.jmxtrans.util"><B>NEXT CLASS</B></A></FONT></TD>
388<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
389  <A HREF="../../../../index.html?com/googlecode/jmxtrans/util/SocketDetails.html" target="_top"><B>FRAMES</B></A>  &nbsp;
390&nbsp;<A HREF="SocketDetails.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
391&nbsp;<SCRIPT type="text/javascript">
392  <!--
393  if(window==top) {
394    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
395  }
396  //-->
397</SCRIPT>
398<NOSCRIPT>
399  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
400</NOSCRIPT>
401
402
403</FONT></TD>
404</TR>
405<TR>
406<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
407  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
408<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
409DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
410</TR>
411</TABLE>
412<A NAME="skip-navbar_bottom"></A>
413<!-- ======== END OF BOTTOM NAVBAR ======= -->
414
415<HR>
416<i>Copyright &#169; 2011 Jon Stevens and a gang of pencils. All Rights Reserved. Build version: 168</i>
417</BODY>
418</HTML>