overflow_probes/client/container/socket_handlers.go
crusader fb7d1ca4d6 ing
2017-12-08 17:31:45 +09:00

27 lines
417 B
Go

package client
import (
"net"
csc "git.loafle.net/commons_go/server/client"
)
type SocketHandlers struct {
csc.SocketHandler
}
func (sh *SocketHandlers) OnConnect(socketContext csc.SocketContext, conn net.Conn) {
// no op
}
func (sh *SocketHandlers) OnDisconnect(soc csc.Socket) {
// no op
}
func (sh *SocketHandlers) Validate() {
}
func NewSocketHandler() csc.SocketHandler {
return &SocketHandlers{}
}