trantor
Non-blocking I/O cross-platform TCP network library, using C++14
Loading...
Searching...
No Matches
Channel.h File Reference
#include <trantor/utils/Logger.h>
#include <trantor/utils/NonCopyable.h>
#include <trantor/exports.h>
#include <functional>
#include <assert.h>
#include <memory>
Include dependency graph for Channel.h:

Go to the source code of this file.

Classes

class  trantor::Channel
 This class is used to implement reactor pattern. A Channel object manages a socket fd. Users use a Channel object to receive write or read events on the socket it manages. More...

Namespaces

namespace  trantor

Detailed Description

Author
An Tao

Public header file in trantor lib.

Copyright 2018, An Tao. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the License file.