remove

fun remove(server: Server): Boolean

Removes the connection associated with the given Server and invalidates the object for future use.

Return

true if a connection was successfully removed, or false otherwise.

Parameters

server
the connection to remove.