MCPcopy
hub / github.com/OpenNHP/opennhp / FindPluginHandler

Method FindPluginHandler

endpoints/server/udpserver.go:1151–1160  ·  view source on GitHub ↗
(aspId string)

Source from the content-addressed store, hash-verified

1149}
1150
1151func (us *UdpServer) FindPluginHandler(aspId string) plugins.PluginHandler {
1152 us.pluginHandlerMapMutex.Lock()
1153 defer us.pluginHandlerMapMutex.Unlock()
1154
1155 handler, found := us.pluginHandlerMap[aspId]
1156 if !found {
1157 return nil
1158 }
1159 return handler
1160}
1161
1162// DHP
1163func (s *UdpServer) AddDEPeer(device *core.UdpPeer) {

Callers 4

HandleKnockRequestMethod · 0.95
HandleOTPRequestMethod · 0.95
HandleRegisterRequestMethod · 0.95
HandleListRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected