Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

SocketListener.d File Reference

Go to the source code of this file.

Classes

class  SocketListener

Variables

module mango io SocketListener
import std thread
import mango io Socket
import mango io model IBuffer
import mango io model mango
io model 
IWriter
public class VersionAltListener
typedef Object 
FOO


Detailed Description

Copyright (C) 2004 Kris Bell

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for damages of any kind arising from the use of this software.

Permission is hereby granted to anyone to use this software for any purpose, including commercial applications, and to alter it and/or redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment within documentation of said product would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any distribution of the source.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version:
Initial version, June 2004
Author:
Kris

Definition in file SocketListener.d.


Variable Documentation

module mango io SocketListener
 

Definition at line 36 of file SocketListener.d.

import std thread
 

Definition at line 38 of file SocketListener.d.

import mango io Socket
 

Definition at line 40 of file SocketListener.d.

import mango io model IBuffer
 

Definition at line 42 of file SocketListener.d.

import mango io model mango io model IWriter
 

Definition at line 42 of file SocketListener.d.

else typedef Thread FOO
 

Abstract class to asynchronously listen for incoming data on a socket. This can be used with DatagramSocket & MulticastSocket, and might possibly be useful with a basic SocketConduit also. Note that DatagramSocket must first be bound to a local network address via bind(), and MulticastSocket should first be made a member of a multicast group via its join() method. Note also that the underlying thread is not started by the constructor; you should do that manually via the start() method.

Definition at line 63 of file SocketListener.d.


Generated on Sun Nov 7 19:06:57 2004 for Mango by doxygen 1.3.6