[CHORE] refactor to take callback
[CHORE] refactor to take callback

crazyquark/gatewayd,zealord/gatewayd,whotooktwarden/gatewayd,whotooktwarden/gatewayd,xdv/gatewayd,xdv/gatewayd,crazyquark/gatewayd,zealord/gatewayd,Parkjeahwan/awegeeks,Parkjeahwan/awegeeks