stop


Description:

public void stop ()

Stops a mock server started by calling run.

This shuts down the server's worker thread and unbinds it from its TCP/IP socket.

This unloads any trace file loaded by calling load_trace (or its asynchronous counterpart). It also resets the set of domain names loaded into the resolver.

This function always succeeds.

Parameters:

this

a Server