Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 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_26) on Sun Jan 27 20:37:04 CET 2013 -->
6
<TITLE>
7
Net.Protocol (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="Net.Protocol (libgdx 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/Net.Protocol.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
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../com/badlogic/gdx/Net.HttpStatus.html" title="class in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../index.html?com/badlogic/gdx/Net.Protocol.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Net.Protocol.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx</FONT>
107
<BR>
108
Enum Net.Protocol</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum&lt;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A>&gt;
112
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.Net.Protocol</B>
113
</PRE>
114
<DL>
115
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable&lt;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A>&gt;</DD>
116
</DL>
117
<DL>
118
<DT><B>Enclosing interface:</B><DD><A HREF="../../../com/badlogic/gdx/Net.html" title="interface in com.badlogic.gdx">Net</A></DD>
119
</DL>
120
<HR>
121
<DL>
122
<DT><PRE>public static enum <B>Net.Protocol</B><DT>extends java.lang.Enum&lt;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A>&gt;</DL>
123
</PRE>
124
 
125
<P>
126
Protocol used by <A HREF="../../../com/badlogic/gdx/Net.html#newServerSocket(com.badlogic.gdx.Net.Protocol, int, com.badlogic.gdx.net.ServerSocketHints)"><CODE>Net.newServerSocket(Protocol, int, ServerSocketHints)</CODE></A> and
127
 <A HREF="../../../com/badlogic/gdx/Net.html#newClientSocket(com.badlogic.gdx.Net.Protocol, java.lang.String, int, com.badlogic.gdx.net.SocketHints)"><CODE>Net.newClientSocket(Protocol, String, int, SocketHints)</CODE></A>.
128
<P>
129
 
130
<P>
131
<DL>
132
<DT><B>Author:</B></DT>
133
  <DD>mzechner</DD>
134
</DL>
135
<HR>
136
 
137
<P>
138
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
139
 
140
<A NAME="enum_constant_summary"><!-- --></A>
141
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
144
<B>Enum Constant Summary</B></FONT></TH>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Net.Protocol.html#TCP">TCP</A></B></CODE>
148
 
149
<BR>
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
151
</TR>
152
</TABLE>
153
&nbsp;
154
<!-- ========== METHOD SUMMARY =========== -->
155
 
156
<A NAME="method_summary"><!-- --></A>
157
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
159
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
160
<B>Method Summary</B></FONT></TH>
161
</TR>
162
<TR BGCOLOR="white" CLASS="TableRowColor">
163
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164
<CODE>static&nbsp;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A></CODE></FONT></TD>
165
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Net.Protocol.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String&nbsp;name)</CODE>
166
 
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
169
</TR>
170
<TR BGCOLOR="white" CLASS="TableRowColor">
171
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172
<CODE>static&nbsp;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A>[]</CODE></FONT></TD>
173
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Net.Protocol.html#values()">values</A></B>()</CODE>
174
 
175
<BR>
176
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
177
the order they are declared.</TD>
178
</TR>
179
</TABLE>
180
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
183
<TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH>
184
</TR>
185
<TR BGCOLOR="white" CLASS="TableRowColor">
186
<TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD>
187
</TR>
188
</TABLE>
189
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
190
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
191
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
192
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
193
</TR>
194
<TR BGCOLOR="white" CLASS="TableRowColor">
195
<TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
196
</TR>
197
</TABLE>
198
&nbsp;
199
<P>
200
 
201
<!-- ============ ENUM CONSTANT DETAIL =========== -->
202
 
203
<A NAME="enum_constant_detail"><!-- --></A>
204
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
206
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
207
<B>Enum Constant Detail</B></FONT></TH>
208
</TR>
209
</TABLE>
210
 
211
<A NAME="TCP"><!-- --></A><H3>
212
TCP</H3>
213
<PRE>
214
public static final <A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A> <B>TCP</B></PRE>
215
<DL>
216
<DL>
217
</DL>
218
</DL>
219
 
220
<!-- ============ METHOD DETAIL ========== -->
221
 
222
<A NAME="method_detail"><!-- --></A>
223
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
224
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
225
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
226
<B>Method Detail</B></FONT></TH>
227
</TR>
228
</TABLE>
229
 
230
<A NAME="values()"><!-- --></A><H3>
231
values</H3>
232
<PRE>
233
public static <A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A>[] <B>values</B>()</PRE>
234
<DL>
235
<DD>Returns an array containing the constants of this enum type, in
236
the order they are declared.  This method may be used to iterate
237
over the constants as follows:
238
<pre>
239
for (Net.Protocol c : Net.Protocol.values())
240
&nbsp;   System.out.println(c);
241
</pre>
242
<P>
243
<DD><DL>
244
 
245
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
246
the order they are declared</DL>
247
</DD>
248
</DL>
249
<HR>
250
 
251
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
252
valueOf</H3>
253
<PRE>
254
public static <A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</A> <B>valueOf</B>(java.lang.String&nbsp;name)</PRE>
255
<DL>
256
<DD>Returns the enum constant of this type with the specified name.
257
The string must match <I>exactly</I> an identifier used to declare an
258
enum constant in this type.  (Extraneous whitespace characters are
259
not permitted.)
260
<P>
261
<DD><DL>
262
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
263
<DT><B>Returns:</B><DD>the enum constant with the specified name
264
<DT><B>Throws:</B>
265
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant
266
with the specified name
267
<DD><CODE>java.lang.NullPointerException</CODE> - if the argument is null</DL>
268
</DD>
269
</DL>
270
<!-- ========= END OF CLASS DATA ========= -->
271
<HR>
272
 
273
 
274
<!-- ======= START OF BOTTOM NAVBAR ====== -->
275
<A NAME="navbar_bottom"><!-- --></A>
276
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
277
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
278
<TR>
279
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
280
<A NAME="navbar_bottom_firstrow"><!-- --></A>
281
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
282
  <TR ALIGN="center" VALIGN="top">
283
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
284
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
285
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
286
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Net.Protocol.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
287
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
288
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
289
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
290
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
291
  </TR>
292
</TABLE>
293
</TD>
294
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
295
libgdx API</EM>
296
</TD>
297
</TR>
298
 
299
<TR>
300
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
301
&nbsp;<A HREF="../../../com/badlogic/gdx/Net.HttpStatus.html" title="class in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
302
&nbsp;<A HREF="../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
303
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
304
  <A HREF="../../../index.html?com/badlogic/gdx/Net.Protocol.html" target="_top"><B>FRAMES</B></A>  &nbsp;
305
&nbsp;<A HREF="Net.Protocol.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
306
&nbsp;<SCRIPT type="text/javascript">
307
  <!--
308
  if(window==top) {
309
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
310
  }
311
  //-->
312
</SCRIPT>
313
<NOSCRIPT>
314
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
315
</NOSCRIPT>
316
 
317
 
318
</FONT></TD>
319
</TR>
320
<TR>
321
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
322
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
323
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
324
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
325
</TR>
326
</TABLE>
327
<A NAME="skip-navbar_bottom"></A>
328
<!-- ======== END OF BOTTOM NAVBAR ======= -->
329
 
330
<HR>
331
 
332
                                <div style="font-size:9pt"><i>
333
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
334
                                </i></div>
335
 
336
</BODY>
337
</HTML>