MCPcopy
hub / github.com/Allenxuxu/gev / Socket

Interface Socket

eventloop/eventloop.go:21–24  ·  view source on GitHub ↗

Socket 接口

Source from the content-addressed store, hash-verified

19
20// Socket 接口
21type Socket interface {
22 HandleEvent(fd int, events poller.Event)
23 Close() error
24}
25
26// EventLoop 事件循环
27type EventLoop struct {

Callers 9

handlerEventMethod · 0.65
HandleEventMethod · 0.65
CloseMethod · 0.65
startClientFunction · 0.65
TestServer_StopFunction · 0.65
TestServer_Stop1Function · 0.65
OnConnectMethod · 0.65
StopMethod · 0.65
CloseMethod · 0.65

Implementers 2

listenerlistener.go
Connectionserver_std.go

Calls

no outgoing calls

Tested by

no test coverage detected