Static method used to send a command to a server via a monitor.
@param key The monitor key.
@param port The monitor port.
@param command The command to be sent to the server.
@param logger Used to log information and error messages.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.