-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
3,919 additions
and
3,933 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
#pragma once | ||
|
||
namespace brynet | ||
{ | ||
namespace net | ||
namespace brynet { namespace net { | ||
|
||
class EventLoop; | ||
|
||
class Channel | ||
{ | ||
class EventLoop; | ||
public: | ||
virtual ~Channel() = default; | ||
|
||
class Channel | ||
{ | ||
public: | ||
virtual ~Channel() = default; | ||
private: | ||
virtual void canSend() = 0; | ||
virtual void canRecv() = 0; | ||
virtual void onClose() = 0; | ||
|
||
private: | ||
virtual void canSend() = 0; | ||
virtual void canRecv() = 0; | ||
virtual void onClose() = 0; | ||
friend class EventLoop; | ||
}; | ||
|
||
friend class EventLoop; | ||
}; | ||
} | ||
} | ||
} } |
Oops, something went wrong.