|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.protocols.nsclient.detector.client.NsclientClient
public class NsclientClient
NsclientClient class.
| Constructor Summary | |
|---|---|
NsclientClient()
|
|
| Method Summary | |
|---|---|
void |
close()
close |
void |
connect(InetAddress address,
int port,
int timeout)
connect |
String |
getPassword()
|
NsclientPacket |
receiveBanner()
receiveBanner |
NsclientPacket |
sendRequest(NsclientRequest request)
sendRequest |
void |
setPassword(String password)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NsclientClient()
| Method Detail |
|---|
public void connect(InetAddress address,
int port,
int timeout)
throws IOException,
Exception
Clientconnect
connect in interface Client<NsclientRequest,NsclientPacket>address - a InetAddress object.port - a int.timeout - a int.
IOException - if any.
Exception - if any.public void close()
Clientclose
close in interface Client<NsclientRequest,NsclientPacket>
public NsclientPacket receiveBanner()
throws IOException,
Exception
ClientreceiveBanner
receiveBanner in interface Client<NsclientRequest,NsclientPacket>IOException - if any.
Exception - if any.
public NsclientPacket sendRequest(NsclientRequest request)
throws IOException,
Exception
ClientsendRequest
sendRequest in interface Client<NsclientRequest,NsclientPacket>request - a Request object.
IOException - if any.
Exception - if any.public String getPassword()
public void setPassword(String password)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||