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.7.5 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.7.4 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.7.3 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
MattHulse-eventmachine-0.0.1 ext/files.cpp
MattHulse-eventmachine-0.12.10 ext/files.cpp
brianmario-eventmachine-0.12.2 ext/files.cpp
careo-eventmachine-0.12.5.1 ext/files.cpp
davidsmalley-eventmachine-0.12.3.1 ext/files.cpp
eventmachine-eventmachine-0.12.3 ext/files.cpp
eventmachine-eventmachine-0.12.4 ext/files.cpp
eventmachine-eventmachine-0.12.5 ext/files.cpp
eventmachine-eventmachine-0.12.6 ext/files.cpp
eventmachine-eventmachine-0.12.7 ext/files.cpp
eventmachine-eventmachine-0.12.8 ext/files.cpp
eventmachine-eventmachine-0.12.9 ext/files.cpp
libc-eventmachine-0.12.5.42 ext/files.cpp
libc-eventmachine-0.12.7.42 ext/files.cpp
classiccms-0.7.2 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.7.1 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp
classiccms-0.7.0 vendor/bundle/gems/eventmachine-0.12.10/ext/files.cpp