org.opennms.netmgt.provision.detector.smb.client
Class SmbClient

java.lang.Object
  extended by org.opennms.netmgt.provision.detector.smb.client.SmbClient
All Implemented Interfaces:
Client<LineOrientedRequest,NbtAddressResponse>

public class SmbClient
extends Object
implements Client<LineOrientedRequest,NbtAddressResponse>

Author:
thedesloge

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

Constructor Detail

SmbClient

public SmbClient()
Method Detail

close

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

connect

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

receiveBanner

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

sendRequest

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


Copyright © 2009. All Rights Reserved.