The close method disconnects from the Message Feed server. It must be called to avoid before the Mfp object is finalized to avoid resource leaks.
core.mfp.Mfp
close
public void close() throws MfpException
host
– Name of the TCP/IP host on which the Message Feed server is located.service
– Name of the TCP/IP service to which the Message Feed server listens to.timeout
– Timeout, in seconds, for socket access to the Message Feed server.The close method throws an MfpException
when authentication fails.
Use the MfpException.toString
method to get a textual description of the exception.
See Mfp.constructor.