PHttpServer is added to whatIsRunning but doesn't have a __stop method. PFtpServer is not added to whatIsRunning in the first place.
The server classes are pretty different in this regard (maybe use WhatIsRunningInterface, maybe extend ProtoBase which has its own abstract __stop, ...).
Hi,
PHttpServer
is added towhatIsRunning
but doesn't have a__stop
method.PFtpServer
is not added towhatIsRunning
in the first place.The server classes are pretty different in this regard (maybe use
WhatIsRunningInterface
, maybe extendProtoBase
which has its own abstract__stop
, ...).