<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>File: tclient.rb</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> <script type="text/javascript"> // <![CDATA[ function popupCode( url ) { window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") } function toggleCode( id ) { if ( document.getElementById ) elem = document.getElementById( id ); else if ( document.all ) elem = eval( "document.all." + id ); else return false; elemStyle = elem.style; if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else { elemStyle.display = "none" } return true; } // Make codeblocks hidden by default document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) // ]]> </script> </head> <body> <div id="fileHeader"> <h1>tclient.rb</h1> <table class="header-table"> <tr class="top-aligned-row"> <td><strong>Path:</strong></td> <td>tclient.rb </td> </tr> <tr class="top-aligned-row"> <td><strong>Last Update:</strong></td> <td>Sat Mar 18 08:16:52 GMT-5:00 2006</td> </tr> </table> </div> <!-- banner header --> <div id="bodyContent"> <div id="contextContent"> <div id="diagram"> <map id="map" name="map"> <area shape="RECT" coords="7,209,97,257" href="../classes/CursesClient.html" alt="CursesClient "> <area shape="RECT" coords="73,113,145,161" href="../classes/Client.html" alt="Client "> <area shape="RECT" coords="121,209,215,257" href="../classes/ConsoleClient.html" alt="ConsoleClient "> <area shape="RECT" coords="73,17,145,65" href="../classes/Publisher.html" alt="Publisher "> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </div> <div id="description"> <table> <tr><td valign="top">file:</td><td>tclient.rb </td></tr> <tr><td valign="top">author:</td><td>Jon A. Lambert </td></tr> <tr><td valign="top">version:</td><td>2.8.0 </td></tr> <tr><td valign="top">date:</td><td>01/19/2006 </td></tr> </table> <p> This source code copyright (C) 2005, 2006 by Jon A. Lambert All rights reserved. </p> <p> Released under the terms of the TeensyMUD Public License See LICENSE file for additional information. </p> </div> <div id="requires-list"> <h3 class="section-bar">Required files</h3> <div class="name-list"> pp network/reactor optparse ostruct curses Win32API </div> </div> </div> <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000002">get_options</a> <a href="#M000003">getkey</a> <a href="#M000004">getkey</a> </div> </div> </div> <!-- if includes --> <div id="section"> <div id="constants-list"> <h3 class="section-bar">Constants</h3> <div class="name-list"> <table summary="Constants"> <tr class="top-aligned-row context-row"> <td class="context-item-name">Version</td> <td>=</td> <td class="context-item-value">"0.2.0"</td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">BANNER</td> <td>=</td> <td class="context-item-value"><<-EOH This is TeensyClient version #{Version} Copyright (C) 2005, 2006 by Jon A. Lambert Released under the terms of the TeensyMUD Public License EOH</td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">Kbhit</td> <td>=</td> <td class="context-item-value">Win32API.new("msvcrt", "_kbhit", [], 'I')</td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">Getch</td> <td>=</td> <td class="context-item-value">Win32API.new("msvcrt", "_getch", [], 'I')</td> </tr> </table> </div> </div> <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> <div id="method-M000002" class="method-detail"> <a name="M000002"></a> <div class="method-heading"> <a href="tclient_rb.src/M000002.html" target="Code" class="method-signature" onclick="popupCode('tclient_rb.src/M000002.html');return false;"> <span class="method-name">get_options</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000003" class="method-detail"> <a name="M000003"></a> <div class="method-heading"> <a href="tclient_rb.src/M000003.html" target="Code" class="method-signature" onclick="popupCode('tclient_rb.src/M000003.html');return false;"> <span class="method-name">getkey</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000004" class="method-detail"> <a name="M000004"></a> <div class="method-heading"> <a href="tclient_rb.src/M000004.html" target="Code" class="method-signature" onclick="popupCode('tclient_rb.src/M000004.html');return false;"> <span class="method-name">getkey</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> </div> </div> <div id="validator-badges"> <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> </div> </body> </html>