This mixin provides stubs for event notification handlers that can be registered with a Comm factory to be called when various events occur, such as socket instantiation.
This callback is notified when a socket is being created and is passed the parameters that will be used to create it.
# File lib/rex/socket/comm.rb, line 30 def on_before_socket_create(comm, param) end
This callback is notified when a new socket is created and the parameters that were used to create it. This provides the callback with a chance to extend or otherwise modify the socket before it's passed on to the actual requestor.
# File lib/rex/socket/comm.rb, line 39 def on_socket_created(comm, sock, param) end
Generated with the Darkfish Rdoc Generator 2.