/usr/share/doc/libnaga-java/api/index-all.html is in libnaga-java 2.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sat Mar 10 09:46:43 UTC 2012 -->
<TITLE>
Index (Naga API)
</TITLE>
<META NAME="date" CONTENT="2012-03-10">
<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (Naga API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <A HREF="#_Z_">Z</A> <HR>
<A NAME="_A_"><!-- --></A><H2>
<B>A</B></H2>
<DL>
<DT><A HREF="./naga/ConnectionAcceptor.html#acceptConnection(java.net.InetSocketAddress)"><B>acceptConnection(InetSocketAddress)</B></A> -
Method in interface naga.<A HREF="./naga/ConnectionAcceptor.html" title="interface in naga">ConnectionAcceptor</A>
<DD>Return true if the connection should be accepted, false otherwise.
<DT><A HREF="./naga/ServerSocketObserver.html#acceptFailed(java.io.IOException)"><B>acceptFailed(IOException)</B></A> -
Method in interface naga.<A HREF="./naga/ServerSocketObserver.html" title="interface in naga">ServerSocketObserver</A>
<DD>Called by the NIOService on the NIO thread when an accept fails on the socket.
<DT><A HREF="./naga/ServerSocketObserverAdapter.html#acceptFailed(java.io.IOException)"><B>acceptFailed(IOException)</B></A> -
Method in class naga.<A HREF="./naga/ServerSocketObserverAdapter.html" title="class in naga">ServerSocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/ConnectionAcceptor.html#ALLOW"><B>ALLOW</B></A> -
Static variable in interface naga.<A HREF="./naga/ConnectionAcceptor.html" title="interface in naga">ConnectionAcceptor</A>
<DD>A connection acceptor that accepts all connections.
<DT><A HREF="./naga/packetreader/AsciiLinePacketReader.html" title="class in naga.packetreader"><B>AsciiLinePacketReader</B></A> - Class in <A HREF="./naga/packetreader/package-summary.html">naga.packetreader</A><DD>Reads a bytestream delimited by '\n'.<DT><A HREF="./naga/packetreader/AsciiLinePacketReader.html#AsciiLinePacketReader()"><B>AsciiLinePacketReader()</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/AsciiLinePacketReader.html" title="class in naga.packetreader">AsciiLinePacketReader</A>
<DD>Creates a '\n' delimited reader with default min buffer size
and unlimited max buffer size.
<DT><A HREF="./naga/packetreader/AsciiLinePacketReader.html#AsciiLinePacketReader(int, int)"><B>AsciiLinePacketReader(int, int)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/AsciiLinePacketReader.html" title="class in naga.packetreader">AsciiLinePacketReader</A>
<DD>Creates a '\n' delimited reader with the given max line length
and read buffer size.
<DT><A HREF="./naga/packetreader/AsciiLinePacketReader.html#AsciiLinePacketReader(int)"><B>AsciiLinePacketReader(int)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/AsciiLinePacketReader.html" title="class in naga.packetreader">AsciiLinePacketReader</A>
<DD>Creates a '\n' delimited reader with the given max line length
and default read buffer size.
<DT><A HREF="./naga/eventmachine/EventMachine.html#asyncExecute(java.lang.Runnable)"><B>asyncExecute(Runnable)</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Execute a runnable on the Event/NIO thread.
</DL>
<HR>
<A NAME="_C_"><!-- --></A><H2>
<B>C</B></H2>
<DL>
<DT><A HREF="./naga/eventmachine/DelayedEvent.html#cancel()"><B>cancel()</B></A> -
Method in interface naga.eventmachine.<A HREF="./naga/eventmachine/DelayedEvent.html" title="interface in naga.eventmachine">DelayedEvent</A>
<DD>Cancels this delayed event.
<DT><A HREF="./naga/NIOUtils.html#cancelKeySilently(java.nio.channels.SelectionKey)"><B>cancelKeySilently(SelectionKey)</B></A> -
Static method in class naga.<A HREF="./naga/NIOUtils.html" title="class in naga">NIOUtils</A>
<DD>Silently cancel a key.
<DT><A HREF="./naga/NIOAbstractSocket.html#close()"><B>close()</B></A> -
Method in interface naga.<A HREF="./naga/NIOAbstractSocket.html" title="interface in naga">NIOAbstractSocket</A>
<DD>Closes this socket (the actual disconnect will occur on the NIOService thread)
<DT><A HREF="./naga/NIOService.html#close()"><B>close()</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Close the entire service.
<DT><A HREF="./naga/NIOSocket.html#closeAfterWrite()"><B>closeAfterWrite()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Causes the socket to close after writing the current entries in the queue
(consequent entries will be thrown away).
<DT><A HREF="./naga/NIOUtils.html#closeChannelSilently(java.nio.channels.Channel)"><B>closeChannelSilently(Channel)</B></A> -
Static method in class naga.<A HREF="./naga/NIOUtils.html" title="class in naga">NIOUtils</A>
<DD>Silently close a channel.
<DT><A HREF="./naga/NIOUtils.html#closeKeyAndChannelSilently(java.nio.channels.SelectionKey, java.nio.channels.Channel)"><B>closeKeyAndChannelSilently(SelectionKey, Channel)</B></A> -
Static method in class naga.<A HREF="./naga/NIOUtils.html" title="class in naga">NIOUtils</A>
<DD>Silently close both a key and a channel.
<DT><A HREF="./naga/ConnectionAcceptor.html" title="interface in naga"><B>ConnectionAcceptor</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>The ConnectionAcceptor is used by the NIOServerSocket to determine
if a connection should be accepted or refused.<DT><A HREF="./naga/SocketObserver.html#connectionBroken(naga.NIOSocket, java.lang.Exception)"><B>connectionBroken(NIOSocket, Exception)</B></A> -
Method in interface naga.<A HREF="./naga/SocketObserver.html" title="interface in naga">SocketObserver</A>
<DD>Called by the NIOService on the NIO thread when a connection is disconnected.
<DT><A HREF="./naga/SocketObserverAdapter.html#connectionBroken(naga.NIOSocket, java.lang.Exception)"><B>connectionBroken(NIOSocket, Exception)</B></A> -
Method in class naga.<A HREF="./naga/SocketObserverAdapter.html" title="class in naga">SocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/SocketObserver.html#connectionOpened(naga.NIOSocket)"><B>connectionOpened(NIOSocket)</B></A> -
Method in interface naga.<A HREF="./naga/SocketObserver.html" title="interface in naga">SocketObserver</A>
<DD>Called by the NIOService on the NIO thread when a connection completes on a socket.
<DT><A HREF="./naga/SocketObserverAdapter.html#connectionOpened(naga.NIOSocket)"><B>connectionOpened(NIOSocket)</B></A> -
Method in class naga.<A HREF="./naga/SocketObserverAdapter.html" title="class in naga">SocketObserverAdapter</A>
<DD>
</DL>
<HR>
<A NAME="_D_"><!-- --></A><H2>
<B>D</B></H2>
<DL>
<DT><A HREF="./naga/eventmachine/ExceptionObserver.html#DEFAULT"><B>DEFAULT</B></A> -
Static variable in interface naga.eventmachine.<A HREF="./naga/eventmachine/ExceptionObserver.html" title="interface in naga.eventmachine">ExceptionObserver</A>
<DD>
<DT><A HREF="./naga/packetreader/RawPacketReader.html#DEFAULT_BUFFER_SIZE"><B>DEFAULT_BUFFER_SIZE</B></A> -
Static variable in class naga.packetreader.<A HREF="./naga/packetreader/RawPacketReader.html" title="class in naga.packetreader">RawPacketReader</A>
<DD>
<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#DEFAULT_READ_BUFFER_SIZE"><B>DEFAULT_READ_BUFFER_SIZE</B></A> -
Static variable in class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>
<DT><A HREF="./naga/eventmachine/DelayedEvent.html" title="interface in naga.eventmachine"><B>DelayedEvent</B></A> - Interface in <A HREF="./naga/eventmachine/package-summary.html">naga.eventmachine</A><DD>A cancellable, delayed event posted to the event service.<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader"><B>DelimiterPacketReader</B></A> - Class in <A HREF="./naga/packetreader/package-summary.html">naga.packetreader</A><DD>Class to read a byte stream delimited by a byte marking the end of a packet.<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#DelimiterPacketReader(byte)"><B>DelimiterPacketReader(byte)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>Create a new reader with the default min buffer size and unlimited max buffer size.
<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#DelimiterPacketReader(byte, int, int)"><B>DelimiterPacketReader(byte, int, int)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>Create a new reader with the given min and max buffer size
delimited by the given byte.
<DT><A HREF="./naga/ConnectionAcceptor.html#DENY"><B>DENY</B></A> -
Static variable in interface naga.<A HREF="./naga/ConnectionAcceptor.html" title="interface in naga">ConnectionAcceptor</A>
<DD>A connection acceptor that refuses all connections.
</DL>
<HR>
<A NAME="_E_"><!-- --></A><H2>
<B>E</B></H2>
<DL>
<DT><A HREF="./naga/examples/EchoServer.html" title="class in naga.examples"><B>EchoServer</B></A> - Class in <A HREF="./naga/examples/package-summary.html">naga.examples</A><DD>Creates a very simple echo server.<DT><A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine"><B>EventMachine</B></A> - Class in <A HREF="./naga/eventmachine/package-summary.html">naga.eventmachine</A><DD>EventMachine is a simple event service for driving asynchronous and delayed tasks
together with the a Naga NIOService.<DT><A HREF="./naga/eventmachine/EventMachine.html#EventMachine()"><B>EventMachine()</B></A> -
Constructor for class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Creates a new EventMachine with an embedded NIOService.
<DT><A HREF="./naga/eventmachine/ExceptionObserver.html" title="interface in naga.eventmachine"><B>ExceptionObserver</B></A> - Interface in <A HREF="./naga/eventmachine/package-summary.html">naga.eventmachine</A><DD>Implemented by observers of event exceptions.<DT><A HREF="./naga/eventmachine/EventMachine.html#executeAt(java.lang.Runnable, java.util.Date)"><B>executeAt(Runnable, Date)</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Execute a runnable on the Event/NIO thread after at a certain time.
<DT><A HREF="./naga/eventmachine/EventMachine.html#executeLater(java.lang.Runnable, long)"><B>executeLater(Runnable, long)</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Execute a runnable on the Event/NIO thread after a delay.
</DL>
<HR>
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="./naga/NIOAbstractSocket.html#getAddress()"><B>getAddress()</B></A> -
Method in interface naga.<A HREF="./naga/NIOAbstractSocket.html" title="interface in naga">NIOAbstractSocket</A>
<DD>Returns the InetSocketAddress for this socket.
<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#getBuffer()"><B>getBuffer()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>Return the currently used byte buffer.
<DT><A HREF="./naga/PacketReader.html#getBuffer()"><B>getBuffer()</B></A> -
Method in interface naga.<A HREF="./naga/PacketReader.html" title="interface in naga">PacketReader</A>
<DD>Return the currently used byte buffer.
<DT><A HREF="./naga/packetreader/RawPacketReader.html#getBuffer()"><B>getBuffer()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/RawPacketReader.html" title="class in naga.packetreader">RawPacketReader</A>
<DD>
<DT><A HREF="./naga/packetreader/RegularPacketReader.html#getBuffer()"><B>getBuffer()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/RegularPacketReader.html" title="class in naga.packetreader">RegularPacketReader</A>
<DD>Return the next buffer to use.
<DT><A HREF="./naga/PacketWriter.html#getBuffer()"><B>getBuffer()</B></A> -
Method in interface naga.<A HREF="./naga/PacketWriter.html" title="interface in naga">PacketWriter</A>
<DD>The current byte buffer to write to the socket.
<DT><A HREF="./naga/packetwriter/RawPacketWriter.html#getBuffer()"><B>getBuffer()</B></A> -
Method in class naga.packetwriter.<A HREF="./naga/packetwriter/RawPacketWriter.html" title="class in naga.packetwriter">RawPacketWriter</A>
<DD>
<DT><A HREF="./naga/packetwriter/RegularPacketWriter.html#getBuffer()"><B>getBuffer()</B></A> -
Method in class naga.packetwriter.<A HREF="./naga/packetwriter/RegularPacketWriter.html" title="class in naga.packetwriter">RegularPacketWriter</A>
<DD>
<DT><A HREF="./naga/NIOUtils.html#getByteBufferFromPacketSize(int, int, boolean)"><B>getByteBufferFromPacketSize(int, int, boolean)</B></A> -
Static method in class naga.<A HREF="./naga/NIOUtils.html" title="class in naga">NIOUtils</A>
<DD>Creates a byte buffer with a given length with an encoded value,
in either big or little endian encoding (i.e.
<DT><A HREF="./naga/NIOSocket.html#getBytesRead()"><B>getBytesRead()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Return the total number of bytes read on this socket since
it was opened.
<DT><A HREF="./naga/NIOSocket.html#getBytesWritten()"><B>getBytesWritten()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Return the total number of bytes written on this socket
since it was opened.
<DT><A HREF="./naga/eventmachine/DelayedEvent.html#getCall()"><B>getCall()</B></A> -
Method in interface naga.eventmachine.<A HREF="./naga/eventmachine/DelayedEvent.html" title="interface in naga.eventmachine">DelayedEvent</A>
<DD>Returns the actual Runnable to be executed when this event runs.
<DT><A HREF="./naga/NIOAbstractSocket.html#getIp()"><B>getIp()</B></A> -
Method in interface naga.<A HREF="./naga/NIOAbstractSocket.html" title="interface in naga">NIOAbstractSocket</A>
<DD>Reports the IP used by this socket.
<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#getMaxPacketSize()"><B>getMaxPacketSize()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>Get the current maximum buffer size.
<DT><A HREF="./naga/NIOSocket.html#getMaxQueueSize()"><B>getMaxQueueSize()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>The current maximum queue size in bytes.
<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#getNextPacket()"><B>getNextPacket()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>
<DT><A HREF="./naga/PacketReader.html#getNextPacket()"><B>getNextPacket()</B></A> -
Method in interface naga.<A HREF="./naga/PacketReader.html" title="interface in naga">PacketReader</A>
<DD>Return the next packet constructed from the data read in the buffers.
<DT><A HREF="./naga/packetreader/RawPacketReader.html#getNextPacket()"><B>getNextPacket()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/RawPacketReader.html" title="class in naga.packetreader">RawPacketReader</A>
<DD>
<DT><A HREF="./naga/packetreader/RegularPacketReader.html#getNextPacket()"><B>getNextPacket()</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/RegularPacketReader.html" title="class in naga.packetreader">RegularPacketReader</A>
<DD>Return the next packet or null if no complete packet can be constructed.
<DT><A HREF="./naga/eventmachine/EventMachine.html#getNIOService()"><B>getNIOService()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Returns the NIOService used by this event service.
<DT><A HREF="./naga/eventmachine/EventMachine.html#getObserver()"><B>getObserver()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>The current ExceptionObserver used by this service.
<DT><A HREF="./naga/NIOUtils.html#getPacketSizeFromByteBuffer(java.nio.ByteBuffer, boolean)"><B>getPacketSizeFromByteBuffer(ByteBuffer, boolean)</B></A> -
Static method in class naga.<A HREF="./naga/NIOUtils.html" title="class in naga">NIOUtils</A>
<DD>Converts a value in a header buffer encoded in either big or little endian
encoding.
<DT><A HREF="./naga/NIOAbstractSocket.html#getPort()"><B>getPort()</B></A> -
Method in interface naga.<A HREF="./naga/NIOAbstractSocket.html" title="interface in naga">NIOAbstractSocket</A>
<DD>Returns the port in use by this socket.
<DT><A HREF="./naga/eventmachine/EventMachine.html#getQueue()"><B>getQueue()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Return the current event service queue.
<DT><A HREF="./naga/NIOService.html#getQueue()"><B>getQueue()</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Returns a copy of the internal event queue.
<DT><A HREF="./naga/eventmachine/EventMachine.html#getQueueSize()"><B>getQueueSize()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Return the current queue size.
<DT><A HREF="./naga/eventmachine/DelayedEvent.html#getTime()"><B>getTime()</B></A> -
Method in interface naga.eventmachine.<A HREF="./naga/eventmachine/DelayedEvent.html" title="interface in naga.eventmachine">DelayedEvent</A>
<DD>Returns the time when this event will execute.
<DT><A HREF="./naga/NIOSocket.html#getTimeOpen()"><B>getTimeOpen()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Return the time this socket has been open.
<DT><A HREF="./naga/NIOServerSocket.html#getTotalAcceptedConnections()"><B>getTotalAcceptedConnections()</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Returns the total number of accepted connections on this socket since
it opened.
<DT><A HREF="./naga/NIOServerSocket.html#getTotalConnections()"><B>getTotalConnections()</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Returns the total number of connections made on this socket since
it opened.
<DT><A HREF="./naga/NIOServerSocket.html#getTotalFailedConnections()"><B>getTotalFailedConnections()</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Returns the total number of failed connections on this socket since
it opened.
<DT><A HREF="./naga/NIOServerSocket.html#getTotalRefusedConnections()"><B>getTotalRefusedConnections()</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Returns the total number of refused connections on this socket since
it opened.
<DT><A HREF="./naga/NIOSocket.html#getWriteQueueSize()"><B>getWriteQueueSize()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>This method returns the number of bytes queued for dispatch.
</DL>
<HR>
<A NAME="_I_"><!-- --></A><H2>
<B>I</B></H2>
<DL>
<DT><A HREF="./naga/PacketWriter.html#isEmpty()"><B>isEmpty()</B></A> -
Method in interface naga.<A HREF="./naga/PacketWriter.html" title="interface in naga">PacketWriter</A>
<DD>Determines if the packet writer has more data to write.
<DT><A HREF="./naga/packetwriter/RawPacketWriter.html#isEmpty()"><B>isEmpty()</B></A> -
Method in class naga.packetwriter.<A HREF="./naga/packetwriter/RawPacketWriter.html" title="class in naga.packetwriter">RawPacketWriter</A>
<DD>
<DT><A HREF="./naga/packetwriter/RegularPacketWriter.html#isEmpty()"><B>isEmpty()</B></A> -
Method in class naga.packetwriter.<A HREF="./naga/packetwriter/RegularPacketWriter.html" title="class in naga.packetwriter">RegularPacketWriter</A>
<DD>
<DT><A HREF="./naga/NIOAbstractSocket.html#isOpen()"><B>isOpen()</B></A> -
Method in interface naga.<A HREF="./naga/NIOAbstractSocket.html" title="interface in naga">NIOAbstractSocket</A>
<DD>Returns the current state of this socket.
<DT><A HREF="./naga/NIOService.html#isOpen()"><B>isOpen()</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Determine if this service is open.
</DL>
<HR>
<A NAME="_L_"><!-- --></A><H2>
<B>L</B></H2>
<DL>
<DT><A HREF="./naga/NIOServerSocket.html#listen(naga.ServerSocketObserver)"><B>listen(ServerSocketObserver)</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Associates a server socket observer with this server socket and
starts accepting connections.
<DT><A HREF="./naga/NIOSocket.html#listen(naga.SocketObserver)"><B>listen(SocketObserver)</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Opens the socket for reads.
</DL>
<HR>
<A NAME="_M_"><!-- --></A><H2>
<B>M</B></H2>
<DL>
<DT><A HREF="./naga/examples/EchoServer.html#main(java.lang.String...)"><B>main(String...)</B></A> -
Static method in class naga.examples.<A HREF="./naga/examples/EchoServer.html" title="class in naga.examples">EchoServer</A>
<DD>Runs the echo server.
<DT><A HREF="./naga/examples/Rot13Server.html#main(java.lang.String...)"><B>main(String...)</B></A> -
Static method in class naga.examples.<A HREF="./naga/examples/Rot13Server.html" title="class in naga.examples">Rot13Server</A>
<DD>Runs the rot13 server.
<DT><A HREF="./naga/examples/ValidationClient.html#main(java.lang.String...)"><B>main(String...)</B></A> -
Static method in class naga.examples.<A HREF="./naga/examples/ValidationClient.html" title="class in naga.examples">ValidationClient</A>
<DD>Make a login request to the server.
<DT><A HREF="./naga/examples/ValidationServer.html#main(java.lang.String...)"><B>main(String...)</B></A> -
Static method in class naga.examples.<A HREF="./naga/examples/ValidationServer.html" title="class in naga.examples">ValidationServer</A>
<DD>
</DL>
<HR>
<A NAME="_N_"><!-- --></A><H2>
<B>N</B></H2>
<DL>
<DT><A HREF="./naga/package-summary.html"><B>naga</B></A> - package naga<DD>The main Naga classes.<DT><A HREF="./naga/eventmachine/package-summary.html"><B>naga.eventmachine</B></A> - package naga.eventmachine<DD>An optional simple service for driving asynchronous and delayed tasks integrated with the Naga NIOService.<DT><A HREF="./naga/examples/package-summary.html"><B>naga.examples</B></A> - package naga.examples<DD>Various examples on how to use Naga.<DT><A HREF="./naga/exception/package-summary.html"><B>naga.exception</B></A> - package naga.exception<DD>Exceptions used by Naga.<DT><A HREF="./naga/packetreader/package-summary.html"><B>naga.packetreader</B></A> - package naga.packetreader<DD>Package containing various ready-to-use <code>PacketReader</code> implementations.<DT><A HREF="./naga/packetwriter/package-summary.html"><B>naga.packetwriter</B></A> - package naga.packetwriter<DD>Package containing various ready-to-use <code>PacketWriter</code> implementations.<DT><A HREF="./naga/ServerSocketObserver.html#newConnection(naga.NIOSocket)"><B>newConnection(NIOSocket)</B></A> -
Method in interface naga.<A HREF="./naga/ServerSocketObserver.html" title="interface in naga">ServerSocketObserver</A>
<DD>Called by the NIOService on the NIO thread when a new connection has been accepted by the socket.
<DT><A HREF="./naga/ServerSocketObserverAdapter.html#newConnection(naga.NIOSocket)"><B>newConnection(NIOSocket)</B></A> -
Method in class naga.<A HREF="./naga/ServerSocketObserverAdapter.html" title="class in naga">ServerSocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/NIOAbstractSocket.html" title="interface in naga"><B>NIOAbstractSocket</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>An interface describing methods common to both NIOSocket and NIOServerSocket.<DT><A HREF="./naga/NIOServerSocket.html" title="interface in naga"><B>NIOServerSocket</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>Interface for the NIOServerSocket, which is
an asynchronous facade to an underlying ServerSocket.<DT><A HREF="./naga/NIOService.html" title="class in naga"><B>NIOService</B></A> - Class in <A HREF="./naga/package-summary.html">naga</A><DD>This class forms the basis of the NIO handling in Naga.<DT><A HREF="./naga/NIOService.html#NIOService()"><B>NIOService()</B></A> -
Constructor for class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Create a new nio service.
<DT><A HREF="./naga/NIOSocket.html" title="interface in naga"><B>NIOSocket</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>Interface for the NIOSocket, which is
an asynchronous facade to an underlying Socket.<DT><A HREF="./naga/NIOUtils.html" title="class in naga"><B>NIOUtils</B></A> - Class in <A HREF="./naga/package-summary.html">naga</A><DD>A collection of utilites used by various classes.<DT><A HREF="./naga/eventmachine/ExceptionObserver.html#notifyExceptionThrown(java.lang.Throwable)"><B>notifyExceptionThrown(Throwable)</B></A> -
Method in interface naga.eventmachine.<A HREF="./naga/eventmachine/ExceptionObserver.html" title="interface in naga.eventmachine">ExceptionObserver</A>
<DD>Notify the observer that an exception has been thrown.
<DT><A HREF="./naga/SocketObserver.html#NULL"><B>NULL</B></A> -
Static variable in interface naga.<A HREF="./naga/SocketObserver.html" title="interface in naga">SocketObserver</A>
<DD>A null object used as the default observer
</DL>
<HR>
<A NAME="_O_"><!-- --></A><H2>
<B>O</B></H2>
<DL>
<DT><A HREF="./naga/NIOService.html#openServerSocket(int, int)"><B>openServerSocket(int, int)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Open a server socket on the given port.
<DT><A HREF="./naga/NIOService.html#openServerSocket(int)"><B>openServerSocket(int)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Open a server socket on the given port with the default connection backlog.
<DT><A HREF="./naga/NIOService.html#openServerSocket(java.net.InetSocketAddress, int)"><B>openServerSocket(InetSocketAddress, int)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Open a server socket on the address.
<DT><A HREF="./naga/NIOService.html#openSocket(java.lang.String, int)"><B>openSocket(String, int)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Open a normal socket to the host on the given port returning
a NIOSocket.
<DT><A HREF="./naga/NIOService.html#openSocket(java.net.InetAddress, int)"><B>openSocket(InetAddress, int)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Open a normal socket to the host on the given port returning
a NIOSocket.
</DL>
<HR>
<A NAME="_P_"><!-- --></A><H2>
<B>P</B></H2>
<DL>
<DT><A HREF="./naga/PacketReader.html" title="interface in naga"><B>PacketReader</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>Interface for packet reader plugins to assist a socket in reading.<DT><A HREF="./naga/SocketObserver.html#packetReceived(naga.NIOSocket, byte[])"><B>packetReceived(NIOSocket, byte[])</B></A> -
Method in interface naga.<A HREF="./naga/SocketObserver.html" title="interface in naga">SocketObserver</A>
<DD>Called by the NIOService on the NIO thread when a packet is finished reading.
<DT><A HREF="./naga/SocketObserverAdapter.html#packetReceived(naga.NIOSocket, byte[])"><B>packetReceived(NIOSocket, byte[])</B></A> -
Method in class naga.<A HREF="./naga/SocketObserverAdapter.html" title="class in naga">SocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/PacketWriter.html" title="interface in naga"><B>PacketWriter</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>Interface for classes implementing packet writing strategies.<DT><A HREF="./naga/exception/ProtocolViolationException.html" title="class in naga.exception"><B>ProtocolViolationException</B></A> - Exception in <A HREF="./naga/exception/package-summary.html">naga.exception</A><DD>Throw an exception due to unexpected data when reading packets.<DT><A HREF="./naga/exception/ProtocolViolationException.html#ProtocolViolationException(java.lang.String)"><B>ProtocolViolationException(String)</B></A> -
Constructor for exception naga.exception.<A HREF="./naga/exception/ProtocolViolationException.html" title="class in naga.exception">ProtocolViolationException</A>
<DD>Create a new exception.
</DL>
<HR>
<A NAME="_Q_"><!-- --></A><H2>
<B>Q</B></H2>
<DL>
<DT><A HREF="./naga/NIOService.html#queue(java.lang.Runnable)"><B>queue(Runnable)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Queues an event on the NIOService queue.
</DL>
<HR>
<A NAME="_R_"><!-- --></A><H2>
<B>R</B></H2>
<DL>
<DT><A HREF="./naga/packetreader/RawPacketReader.html" title="class in naga.packetreader"><B>RawPacketReader</B></A> - Class in <A HREF="./naga/packetreader/package-summary.html">naga.packetreader</A><DD>This packet reader reads as many bytes as possible from the stream
and then bundles those bytes into a packet.<DT><A HREF="./naga/packetreader/RawPacketReader.html#RawPacketReader(int)"><B>RawPacketReader(int)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/RawPacketReader.html" title="class in naga.packetreader">RawPacketReader</A>
<DD>Create a new reader instance.
<DT><A HREF="./naga/packetreader/RawPacketReader.html#RawPacketReader()"><B>RawPacketReader()</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/RawPacketReader.html" title="class in naga.packetreader">RawPacketReader</A>
<DD>Create a new reader instance with the default buffer size.
<DT><A HREF="./naga/packetwriter/RawPacketWriter.html" title="class in naga.packetwriter"><B>RawPacketWriter</B></A> - Class in <A HREF="./naga/packetwriter/package-summary.html">naga.packetwriter</A><DD>Writes a byte packet to the stream without doing any changes to it.<DT><A HREF="./naga/packetwriter/RawPacketWriter.html#RawPacketWriter()"><B>RawPacketWriter()</B></A> -
Constructor for class naga.packetwriter.<A HREF="./naga/packetwriter/RawPacketWriter.html" title="class in naga.packetwriter">RawPacketWriter</A>
<DD>Creates a new writer.
<DT><A HREF="./naga/packetreader/RegularPacketReader.html" title="class in naga.packetreader"><B>RegularPacketReader</B></A> - Class in <A HREF="./naga/packetreader/package-summary.html">naga.packetreader</A><DD>Reads packet of the format<DT><A HREF="./naga/packetreader/RegularPacketReader.html#RegularPacketReader(int, boolean)"><B>RegularPacketReader(int, boolean)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/RegularPacketReader.html" title="class in naga.packetreader">RegularPacketReader</A>
<DD>Creates a regular packet reader with the given header size.
<DT><A HREF="./naga/packetwriter/RegularPacketWriter.html" title="class in naga.packetwriter"><B>RegularPacketWriter</B></A> - Class in <A HREF="./naga/packetwriter/package-summary.html">naga.packetwriter</A><DD>Writes packet of the format<DT><A HREF="./naga/packetwriter/RegularPacketWriter.html#RegularPacketWriter(int, boolean)"><B>RegularPacketWriter(int, boolean)</B></A> -
Constructor for class naga.packetwriter.<A HREF="./naga/packetwriter/RegularPacketWriter.html" title="class in naga.packetwriter">RegularPacketWriter</A>
<DD>Creates a regular packet writer with the given header size.
<DT><A HREF="./naga/examples/Rot13Server.html" title="class in naga.examples"><B>Rot13Server</B></A> - Class in <A HREF="./naga/examples/package-summary.html">naga.examples</A><DD>Creates a Rot13Server that takes a line of text and returns the Rot13 version of the
text.</DL>
<HR>
<A NAME="_S_"><!-- --></A><H2>
<B>S</B></H2>
<DL>
<DT><A HREF="./naga/NIOService.html#selectBlocking()"><B>selectBlocking()</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Run all waiting NIO requests, blocking indefinitely
until at least one request is handled.
<DT><A HREF="./naga/NIOService.html#selectBlocking(long)"><B>selectBlocking(long)</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Run all waiting NIO requests, blocking until
at least one request is found, or the method has blocked
for the time given by the timeout value, whatever comes first.
<DT><A HREF="./naga/NIOService.html#selectNonBlocking()"><B>selectNonBlocking()</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Run all waiting NIO requests, returning immediately if
no requests are found.
<DT><A HREF="./naga/ServerSocketObserver.html#serverSocketDied(java.lang.Exception)"><B>serverSocketDied(Exception)</B></A> -
Method in interface naga.<A HREF="./naga/ServerSocketObserver.html" title="interface in naga">ServerSocketObserver</A>
<DD>Called by the NIOService on the NIO thread when the server socket is closed.
<DT><A HREF="./naga/ServerSocketObserverAdapter.html#serverSocketDied(java.lang.Exception)"><B>serverSocketDied(Exception)</B></A> -
Method in class naga.<A HREF="./naga/ServerSocketObserverAdapter.html" title="class in naga">ServerSocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/ServerSocketObserver.html" title="interface in naga"><B>ServerSocketObserver</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>Implemented by an observer to a server socket.<DT><A HREF="./naga/ServerSocketObserverAdapter.html" title="class in naga"><B>ServerSocketObserverAdapter</B></A> - Class in <A HREF="./naga/package-summary.html">naga</A><DD>Class with null-implementations for all callbacks.<DT><A HREF="./naga/ServerSocketObserverAdapter.html#ServerSocketObserverAdapter()"><B>ServerSocketObserverAdapter()</B></A> -
Constructor for class naga.<A HREF="./naga/ServerSocketObserverAdapter.html" title="class in naga">ServerSocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/NIOServerSocket.html#setConnectionAcceptor(naga.ConnectionAcceptor)"><B>setConnectionAcceptor(ConnectionAcceptor)</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Sets the connection acceptor for this server socket.
<DT><A HREF="./naga/packetreader/DelimiterPacketReader.html#setMaxPacketSize(int)"><B>setMaxPacketSize(int)</B></A> -
Method in class naga.packetreader.<A HREF="./naga/packetreader/DelimiterPacketReader.html" title="class in naga.packetreader">DelimiterPacketReader</A>
<DD>Set the new maximum packet size.
<DT><A HREF="./naga/NIOSocket.html#setMaxQueueSize(int)"><B>setMaxQueueSize(int)</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Sets the maximum number of bytes allowed in the queue for this socket.
<DT><A HREF="./naga/eventmachine/EventMachine.html#setObserver(naga.eventmachine.ExceptionObserver)"><B>setObserver(ExceptionObserver)</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Sets the ExceptionObserver for this service.
<DT><A HREF="./naga/packetwriter/RawPacketWriter.html#setPacket(byte[])"><B>setPacket(byte[])</B></A> -
Method in class naga.packetwriter.<A HREF="./naga/packetwriter/RawPacketWriter.html" title="class in naga.packetwriter">RawPacketWriter</A>
<DD>
<DT><A HREF="./naga/packetwriter/RegularPacketWriter.html#setPacket(byte[])"><B>setPacket(byte[])</B></A> -
Method in class naga.packetwriter.<A HREF="./naga/packetwriter/RegularPacketWriter.html" title="class in naga.packetwriter">RegularPacketWriter</A>
<DD>
<DT><A HREF="./naga/PacketWriter.html#setPacket(byte[])"><B>setPacket(byte[])</B></A> -
Method in interface naga.<A HREF="./naga/PacketWriter.html" title="interface in naga">PacketWriter</A>
<DD>Set the next packet to write.
<DT><A HREF="./naga/NIOSocket.html#setPacketReader(naga.PacketReader)"><B>setPacketReader(PacketReader)</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Sets the packet reader for this socket.
<DT><A HREF="./naga/NIOSocket.html#setPacketWriter(naga.PacketWriter)"><B>setPacketWriter(PacketWriter)</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Sets the packet writer for this socket.
<DT><A HREF="./naga/NIOServerSocket.html#socket()"><B>socket()</B></A> -
Method in interface naga.<A HREF="./naga/NIOServerSocket.html" title="interface in naga">NIOServerSocket</A>
<DD>Allows access to the underlying server socket.
<DT><A HREF="./naga/NIOSocket.html#socket()"><B>socket()</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Allows access to the underlying socket.
<DT><A HREF="./naga/SocketObserver.html" title="interface in naga"><B>SocketObserver</B></A> - Interface in <A HREF="./naga/package-summary.html">naga</A><DD>This interface contains the callbacks used by a NIOSocket
to inform its observer of events.<DT><A HREF="./naga/SocketObserverAdapter.html" title="class in naga"><B>SocketObserverAdapter</B></A> - Class in <A HREF="./naga/package-summary.html">naga</A><DD>Class with null-implementation of all SocketObserver callbacks.<DT><A HREF="./naga/SocketObserverAdapter.html#SocketObserverAdapter()"><B>SocketObserverAdapter()</B></A> -
Constructor for class naga.<A HREF="./naga/SocketObserverAdapter.html" title="class in naga">SocketObserverAdapter</A>
<DD>
<DT><A HREF="./naga/eventmachine/EventMachine.html#start()"><B>start()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Causes the event machine to start running on a separate thread together with the
NIOService.
<DT><A HREF="./naga/eventmachine/EventMachine.html#stop()"><B>stop()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Stops the event machine thread.
</DL>
<HR>
<A NAME="_T_"><!-- --></A><H2>
<B>T</B></H2>
<DL>
<DT><A HREF="./naga/eventmachine/EventMachine.html#timeOfNextEvent()"><B>timeOfNextEvent()</B></A> -
Method in class naga.eventmachine.<A HREF="./naga/eventmachine/EventMachine.html" title="class in naga.eventmachine">EventMachine</A>
<DD>Returns the time when the next scheduled event will execute.
</DL>
<HR>
<A NAME="_V_"><!-- --></A><H2>
<B>V</B></H2>
<DL>
<DT><A HREF="./naga/examples/ValidationClient.html" title="class in naga.examples"><B>ValidationClient</B></A> - Class in <A HREF="./naga/examples/package-summary.html">naga.examples</A><DD>A client for exercising the validation server.<DT><A HREF="./naga/examples/ValidationServer.html" title="class in naga.examples"><B>ValidationServer</B></A> - Class in <A HREF="./naga/examples/package-summary.html">naga.examples</A><DD>An example validation server to validate logins.</DL>
<HR>
<A NAME="_W_"><!-- --></A><H2>
<B>W</B></H2>
<DL>
<DT><A HREF="./naga/NIOService.html#wakeup()"><B>wakeup()</B></A> -
Method in class naga.<A HREF="./naga/NIOService.html" title="class in naga">NIOService</A>
<DD>Runs wakeup on the selector, causing any blocking select to be released.
<DT><A HREF="./naga/NIOSocket.html#write(byte[])"><B>write(byte[])</B></A> -
Method in interface naga.<A HREF="./naga/NIOSocket.html" title="interface in naga">NIOSocket</A>
<DD>Write a packet of bytes asynchronously on this socket.
</DL>
<HR>
<A NAME="_Z_"><!-- --></A><H2>
<B>Z</B></H2>
<DL>
<DT><A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html" title="class in naga.packetreader"><B>ZeroDelimitedPacketReader</B></A> - Class in <A HREF="./naga/packetreader/package-summary.html">naga.packetreader</A><DD>Reads a bytestream delimited by 0.<DT><A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html#ZeroDelimitedPacketReader()"><B>ZeroDelimitedPacketReader()</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html" title="class in naga.packetreader">ZeroDelimitedPacketReader</A>
<DD>Creates zero delimited reader with a default read buffer
and unlimited max packet size.
<DT><A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html#ZeroDelimitedPacketReader(int, int)"><B>ZeroDelimitedPacketReader(int, int)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html" title="class in naga.packetreader">ZeroDelimitedPacketReader</A>
<DD>Creates a zero delimited reader with the given max packet size
and read buffer size.
<DT><A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html#ZeroDelimitedPacketReader(int)"><B>ZeroDelimitedPacketReader(int)</B></A> -
Constructor for class naga.packetreader.<A HREF="./naga/packetreader/ZeroDelimitedPacketReader.html" title="class in naga.packetreader">ZeroDelimitedPacketReader</A>
<DD>Creates a zero delimited reader with the given max packet size
and the default read buffer size.
</DL>
<HR>
<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <A HREF="#_Z_">Z</A>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
|