~ubuntu-branches/ubuntu/trusty/ocamlnet/trusty

« back to all changes in this revision

Viewing changes to src/netclient/telnet_client.mli

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-09-02 14:12:33 UTC
  • mfrom: (18.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110902141233-zbj0ygxb92u6gy4z
Tags: 3.4-1
* New upstream release
  - add a new NetcgiRequire directive to ease dependency management
    (Closes: #637147)
  - remove patches that were applied upstream:
    + Added-missing-shebang-lines-in-example-shell-scripts
    + Try-also-ocamlc-for-POSIX-threads

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(* $Id: telnet_client.mli 459 2006-04-30 19:49:19Z gerd $
 
1
(* $Id: telnet_client.mli 1612 2011-06-07 23:41:05Z gerd $
2
2
 * ----------------------------------------------------------------------
3
3
 *
4
4
 *)
49
49
 
50
50
type telnet_options =
51
51
    { connection_timeout : float;
52
 
      verbose_connection : bool;
53
52
      verbose_input : bool;
54
53
      verbose_output : bool;
55
54
    }
60
59
 *                           [Telnet_timeout] pseudo-command is added to
61
60
 *                           the input queue, and the connection is
62
61
 *                           aborted.
63
 
 * - [verbose_connection]:   Enables printing of connection events to stderr.
64
 
 * - [verbose_input]:        Enables printing of input events to stderr.
65
 
 * - [verbose_output]:       Enables printing of output events to stderr.
 
62
 * - [verbose_input]:        Enables printing of input events to {!Netlog.Debug}.
 
63
 * - [verbose_output]:       Enables printing of output events to {!Netlog.Debug}
66
64
 *)
67
65
 
68
66
 
323
321
         * queue; processing of the output queue is deferred until the
324
322
         * Synch sequence has been completely sent.
325
323
         *)
 
324
 
 
325
    method expect_input : bool -> unit
 
326
      (** Set whether the timeout value is to be applied to the input side
 
327
          of the connection. This is [true] by default.
 
328
       *)
326
329
  end
327
330
;;
328
331
 
 
332
(** {1 Debugging} *)
329
333
 
 
334
module Debug : sig
 
335
  val enable : bool ref
 
336
    (** Enables {!Netlog}-style debugging of this module  By default,
 
337
        the exchanged Telnet commands are logged. This can be extended
 
338
        by setting the [verbose_input] and [verbose_output] options.
 
339
     *)
 
340
end