echo server protocol along with io.event changes
[iolib.git] / io.event / pkgdcl.lisp
blob80161939f163d4f12054eea20b5c9b9ea53762d1
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Indent-tabs-mode: NIL -*-
2 ;;;
3 ;;; pkgdcl.lisp --- Package definition.
4 ;;;
5 ;;; Copyright (C) 2007, Stelian Ionescu <sionescu@common-lisp.net>
6 ;;;
7 ;;; This code is free software; you can redistribute it and/or
8 ;;; modify it under the terms of the version 2.1 of
9 ;;; the GNU Lesser General Public License as published by
10 ;;; the Free Software Foundation, as clarified by the
11 ;;; preamble found here:
12 ;;; http://opensource.franz.com/preamble.html
13 ;;;
14 ;;; This program is distributed in the hope that it will be useful,
15 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
18 ;;;
19 ;;; You should have received a copy of the GNU Lesser General
20 ;;; Public License along with this library; if not, write to the
21 ;;; Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
22 ;;; Boston, MA 02110-1301, USA
24 (in-package :common-lisp-user)
26 (defpackage :io.event
27 (:nicknames #:evie)
28 (:use #:common-lisp :io.streams :io.multiplex :net.sockets)
29 (:export
30 ;; Transports
31 #:io-channel
32 #:io-buffered-channel
33 #:socket-transport
34 #:tcp-transport
35 #:udp-transport
37 #:on-transport-readable
38 #:on-transport-writable
39 #:on-transport-error
41 ;; Protocols
42 #:io-protocol
43 #:stream-protocol
44 #:datagram-protocol
45 #:protocol-debug-mixin
47 #:transport-of
48 #:on-protocol-start
49 #:on-procotol-stop
50 #:on-connection-made
51 #:on-connection-lost
52 #:on-connection-end
53 #:on-data-received
54 #:on-datagram-received
56 ;; Event Managers
57 #:event-manager
58 #:protocol-manager-mixin
59 #:server
60 #:tcp-server
61 #:client
63 ;; Event Loop
64 #:event-loop
65 #:listen-tcp