org.opennms.netmgt.provision.detector.msexchange.client
Class MSExchangeDetectorClient

java.lang.Object
  extended by org.opennms.netmgt.provision.detector.msexchange.client.MSExchangeDetectorClient
All Implemented Interfaces:
Client<LineOrientedRequest,MSExchangeResponse>

public class MSExchangeDetectorClient
extends Object
implements Client<LineOrientedRequest,MSExchangeResponse>


Constructor Summary
MSExchangeDetectorClient()
           
 
Method Summary
 void close()
           
 void connect(InetAddress address, int port, int timeout)
           
 Integer getImapPort()
           
 String getImapResponse()
           
 Integer getPop3Port()
           
 String getPop3Response()
           
 MSExchangeResponse receiveBanner()
           
 MSExchangeResponse sendRequest(LineOrientedRequest request)
           
 void setFtpPort(int ftpPort)
           
 void setImapPort(int imapPort)
           
 void setImapResponse(String imapResponse)
           
 void setPop3Port(int pop3Port)
           
 void setPop3Response(String pop3Response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MSExchangeDetectorClient

public MSExchangeDetectorClient()
Method Detail

close

public void close()
Specified by:
close in interface Client<LineOrientedRequest,MSExchangeResponse>

connect

public void connect(InetAddress address,
                    int port,
                    int timeout)
             throws IOException,
                    Exception
Specified by:
connect in interface Client<LineOrientedRequest,MSExchangeResponse>
Throws:
IOException
Exception

receiveBanner

public MSExchangeResponse receiveBanner()
                                 throws IOException,
                                        Exception
Specified by:
receiveBanner in interface Client<LineOrientedRequest,MSExchangeResponse>
Throws:
IOException
Exception

sendRequest

public MSExchangeResponse sendRequest(LineOrientedRequest request)
                               throws IOException,
                                      Exception
Specified by:
sendRequest in interface Client<LineOrientedRequest,MSExchangeResponse>
Throws:
IOException
Exception

setImapPort

public void setImapPort(int imapPort)

getImapPort

public Integer getImapPort()

setFtpPort

public void setFtpPort(int ftpPort)

getPop3Port

public Integer getPop3Port()

setPop3Port

public void setPop3Port(int pop3Port)

setImapResponse

public void setImapResponse(String imapResponse)

getImapResponse

public String getImapResponse()

setPop3Response

public void setPop3Response(String pop3Response)

getPop3Response

public String getPop3Response()


Copyright © 2009. All Rights Reserved.