org.opennms.netmgt.provision.detector.smb.client
Class SmbClient
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmbClient
public SmbClient()
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.