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.5.8 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.7 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.6 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.5 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.2 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.1 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.5.0 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.4.2 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.4.1 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.4.0 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.9 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.8 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.7 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.6 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.5 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.4 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.3 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.2 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.1 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.3.0 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp