org.opennms.netmgt.provision.detector.loop.client
Class LoopClient

java.lang.Object
  extended by org.opennms.netmgt.provision.detector.loop.client.LoopClient
All Implemented Interfaces:
Client<LineOrientedRequest,LoopResponse>

public class LoopClient
extends Object
implements Client<LineOrientedRequest,LoopResponse>


Constructor Summary
LoopClient()
           
 
Method Summary
 void close()
           
 void connect(InetAddress address, int port, int timeout)
           
 boolean isSupported()
           
 LoopResponse receiveBanner()
           
 LoopResponse sendRequest(LineOrientedRequest request)
           
 void setSupported(boolean isSupported)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopClient

public LoopClient()
Method Detail

close

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

connect

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

receiveBanner

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

sendRequest

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

setSupported

public void setSupported(boolean isSupported)

isSupported

public boolean isSupported()


Copyright © 2009. All Rights Reserved.