|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.sdsc.inca.Component
edu.sdsc.inca.Client
edu.sdsc.inca.ManagerClient
Created by IntelliJ IDEA.
| Field Summary |
| Fields inherited from class edu.sdsc.inca.Client |
CLIENT_OPTS, host, port, reader, socket, writer |
| Fields inherited from class edu.sdsc.inca.Component |
authenticate, cert, certPath, COMPONENT_OPTS, key, keyPath, logFile, password, trusted, trustedPath |
| Constructor Summary | |
ManagerClient()
|
|
| Method Summary | |
ProtocolReader |
getReader()
Return the reader connected to the remote reporter manager. |
ProtocolWriter |
getWriter()
Return the writer connected to the remote reporter manager. |
void |
sendPackage(java.lang.String filename,
java.lang.String installPath,
java.lang.String name,
byte[] packageContent,
java.lang.String permissions,
java.lang.String dependencies,
java.lang.String version)
Send the provided package information and content to the manager. |
void |
sendProxyRenewInfo(java.lang.String dn,
java.lang.String hostname,
int lifetime,
java.lang.String password,
int port,
java.lang.String username)
Send the provided proxy renewal information to the manager. |
void |
sendSuite(java.lang.String resource,
edu.sdsc.inca.dataModel.suite.SuiteDocument suite)
Send the specified suite document to the remote reporter manager. |
void |
setReader(ProtocolReader reader)
Set the reader connected to the remote reporter manager. |
void |
setWriter(ProtocolWriter writer)
Set the writer connected to the remote reporter manager. |
| Methods inherited from class edu.sdsc.inca.Client |
close, commandGetLog, commandLogConfig, commandPing, connect, dialog, getHost, getPort, getUri, isConnected, main, read, setConfiguration, setHost, setPort, setServer, telnetDialog, write |
| Methods inherited from class edu.sdsc.inca.Component |
addTrustedCert, configComponent, createSocket, getAuthenticate, getCertificate, getCertificatePath, getKey, getKeyPath, getLogFile, getPassword, getTrustedCertificates, getTrustedPath, openResourceStream, readCredentials, readVersion, setAuthenticate, setCertificatePath, setKeyPath, setLogFile, setPassword, setTrustedPath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ManagerClient()
| Method Detail |
public ProtocolReader getReader()
public ProtocolWriter getWriter()
public void sendPackage(java.lang.String filename,
java.lang.String installPath,
java.lang.String name,
byte[] packageContent,
java.lang.String permissions,
java.lang.String dependencies,
java.lang.String version)
throws java.io.IOException,
ProtocolException
filename - The name of the file to store this package as.installPath - The path relative to the package cache directory to
store this package at.name - The repository name for this package.packageContent - The package contentpermissions - The permissions to set on the package once installed
or null to use default permissions.dependencies - The dependencies (space delimited) on this package or
null if no dependencies.version - The version of this package.
java.io.IOException
ProtocolException
public void sendProxyRenewInfo(java.lang.String dn,
java.lang.String hostname,
int lifetime,
java.lang.String password,
int port,
java.lang.String username)
throws java.io.IOException,
ProtocolException
dn - The DN of the MyProxy server (use null if standard DN)hostname - The host where the MyProxy server is running onlifetime - The lifetime of the new proxy credentialpassword - The password to authenticate to the MyProxy server
[default: 24 hours]port - The port where the MyProxy server is running on
[default: 7512]username - The username the proxy credential is stored under
java.io.IOException
ProtocolException
public void sendSuite(java.lang.String resource,
edu.sdsc.inca.dataModel.suite.SuiteDocument suite)
throws java.io.IOException,
ProtocolException
resource - The name of the resource the suite is being sent to.suite - A suite to send to the reporter manager.
java.io.IOException
ProtocolExceptionpublic void setReader(ProtocolReader reader)
reader - The reader for the manager clientpublic void setWriter(ProtocolWriter writer)
writer - The reader for the manager client
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||