Sha256: 5dafa6efbc206f87e0f6b746c934adaea003d0a9005162ac32330eb975df48ea

Contents?: true

Size: 1.96 KB

Versions: 83

Compression:

Stored size: 1.96 KB

Contents

/*****************************************************************************

$Id$

File:     files.cpp
Date:     26Aug06

Copyright (C) 2006-07 by Francis Cianfrocca. All Rights Reserved.
Gmail: blackhedd

This program is free software; you can redistribute it and/or modify
it under the terms of either: 1) the GNU General Public License
as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version; or 2) Ruby's License.

See the file COPYING for complete licensing information.

*****************************************************************************/

#include "project.h"


/******************************************
FileStreamDescriptor::FileStreamDescriptor
******************************************/

FileStreamDescriptor::FileStreamDescriptor (int fd, EventMachine_t *em):
	EventableDescriptor (fd, em),
	OutboundDataSize (0)
{
cerr << "#####";
}


/*******************************************
FileStreamDescriptor::~FileStreamDescriptor
*******************************************/

FileStreamDescriptor::~FileStreamDescriptor()
{
	// Run down any stranded outbound data.
	for (size_t i=0; i < OutboundPages.size(); i++)
		OutboundPages[i].Free();
}


/**************************
FileStreamDescriptor::Read
**************************/

void FileStreamDescriptor::Read()
{
}

/***************************
FileStreamDescriptor::Write
***************************/

void FileStreamDescriptor::Write()
{
}


/*******************************
FileStreamDescriptor::Heartbeat
*******************************/

void FileStreamDescriptor::Heartbeat()
{
}


/***********************************
FileStreamDescriptor::SelectForRead
***********************************/

bool FileStreamDescriptor::SelectForRead()
{
  cerr << "R?";
  return false;
}


/************************************
FileStreamDescriptor::SelectForWrite
************************************/

bool FileStreamDescriptor::SelectForWrite()
{
  cerr << "W?";
  return false;
}


Version data entries

83 entries across 83 versions & 14 rubygems

Version Path
classiccms-0.6.9 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.8 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.7 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.6 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.5 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.4 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.3 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.2 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.1 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.6.0 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.17 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.16 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.15 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.14 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.13 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.12 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.11 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.10 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.9 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
eventmachine-maglev--0.12.10 ext/files.cpp