|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetapp.manage.NaServer
netapp.manage.NaProxyServer
A class used to connect to proxy servers and invoke APIs.
| Field Summary |
| Fields inherited from class netapp.manage.NaServer |
HOSTSEQUIV, LOGIN_PASSWORD, SERVER_TYPE_AGENT, SERVER_TYPE_DFM, SERVER_TYPE_FILER, SERVER_TYPE_NETCACHE, STYLE_HOSTSEQUIV, STYLE_LOGIN_PASSWORD, STYLE_RPC, TRANSPORT_TYPE_HTTP, TRANSPORT_TYPE_HTTPS |
| Constructor Summary | |
NaProxyServer(java.net.InetAddress address,
java.lang.String target)
Create a proxy server object with the given host address. |
|
NaProxyServer(java.lang.String hostname,
java.lang.String target)
Create a proxy server object with the given hostname. |
|
| Method Summary | |
NaElement |
invokeElem(NaElement xi)
Request that the proxy server invokes a single ONTAPI API on the target host. |
void |
setProxyTarget(java.lang.String target)
Set the target for this proxy server. |
void |
setProxyUsername(java.lang.String username)
Set the username for this proxy server. |
| Methods inherited from class netapp.manage.NaServer |
close, getPort, getServerType, getStyle, getTransportType, getXMLParseInput, setAdminUser, setApiVersion, setKeepAliveEnabled, setPort, setServerType, setSnoop, setStyle, setTransportType, setVfilerTunneling, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NaProxyServer(java.net.InetAddress address,
java.lang.String target)
address - the address of the proxy server.target - the name of the target server
public NaProxyServer(java.lang.String hostname,
java.lang.String target)
throws java.net.UnknownHostException
hostname - the hostname of the proxy servertarget - the name of the target server
java.net.UnknownHostException - if the hostname is not known.| Method Detail |
public void setProxyTarget(java.lang.String target)
target - the name of the target serverpublic void setProxyUsername(java.lang.String username)
null is a valid value that means the server should
use the highest privileged account available. Note that the
server may have a security policy which restricts which values
are valid for this field.
username - the username of the account to use, or
null
public NaElement invokeElem(NaElement xi)
throws java.io.IOException,
NaAuthenticationException,
NaProxyFailedException,
NaAPIFailedException,
NaProtocolException
invokeElem in class NaServerxi - The API element.
java.io.IOException - if there is a communication problem
NaAuthenticationException - if the login was not accepted
NaProxyFailedException - if the proxy server returned a
failure result.
NaAPIFailedException - if the target server returned a
failure result.
NaProtocolException - if there is a protocol problem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||