MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ServerCallback

Class ServerCallback

src/remote/server/server.cpp:320–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318};
319
320class ServerCallback : public ServerCallbackBase, public GlobalStorage
321{
322public:
323 explicit ServerCallback(rem_port* prt)
324 : cryptCallback(prt)
325 { }
326
327 ~ServerCallback()
328 { }
329
330 void wakeup(unsigned int length, const void* data)
331 {
332 cryptCallback.wakeup(length, data);
333 }
334
335 ICryptKeyCallback* getInterface()
336 {
337 cryptCallback.loadClientKey();
338 return &cryptCallback;
339 }
340
341 void stop()
342 {
343 cryptCallback.stop();
344 }
345
346private:
347 CryptKeyCallback cryptCallback;
348};
349
350
351// Disable attempts to brute-force logins/passwords

Callers 1

ServerAuthMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected