Пример #1
0
 public override void add(IAsyncFd asyncFd, IAsyncType asyncType, IAsyncEventHandler asyncEventHandler)
 {
     _eventContainer = new EventContainer(asyncFd, asyncType, asyncEventHandler);
     Console.WriteLine("selector add");
 }
Пример #2
0
 public EventContainer(IAsyncFd asyncFd, IAsyncType asyncType, IAsyncEventHandler asyncEventHandler)
 {
     this._asyncFd           = asyncFd;
     this._asyncType         = asyncType;
     this._asyncEventHandler = asyncEventHandler;
 }
Пример #3
0
 public virtual void add(IAsyncFd asyncFd, IAsyncType asyncType, IAsyncEventHandler asyncEventHandler)
 {
     _eventContainer = new EventContainer(asyncFd, asyncType, asyncEventHandler);
     Console.WriteLine("asyncpolling add fd, type, eventhandler");
 }