Package es.caib.seycon.ng.sync.agent
Interface AgentManager
-
public interface AgentManager
Service AgentManager
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createAgent(Dispatcher dispatcher)
Operation createAgentString
createAgentDebug(Dispatcher dispatcher)
Operation createAgentDebugObject
createLocalAgent(Dispatcher dispatcher)
Operation createLocalAgentObject
createLocalAgentDebug(Dispatcher dispatcher)
Operation createLocalAgentDebugPublicKey
generateNewKey()
Operation generateNewKeyDate
getCertificateValidityDate()
Operation getCertificateValidityDatevoid
reset()
Operation resetvoid
storeNewCertificate(X509Certificate cert, X509Certificate root)
Operation storeNewCertificateString[]
tailServerLog()
Operation tailServerLog
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createLocalAgent
Object createLocalAgent(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
Operation createLocalAgent- Parameters:
dispatcher
-- Returns:
- Throws:
InternalErrorException
-
createLocalAgentDebug
Object createLocalAgentDebug(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
Operation createLocalAgentDebug- Parameters:
dispatcher
-- Returns:
- Throws:
InternalErrorException
-
createAgent
String createAgent(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
Operation createAgent- Parameters:
dispatcher
-- Returns:
- Throws:
InternalErrorException
-
createAgentDebug
String createAgentDebug(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
Operation createAgentDebug- Parameters:
dispatcher
-- Returns:
- Throws:
InternalErrorException
-
tailServerLog
String[] tailServerLog() throws InternalErrorException, InternalErrorException
Operation tailServerLog- Returns:
- Throws:
InternalErrorException
-
generateNewKey
PublicKey generateNewKey() throws InternalErrorException, InternalErrorException
Operation generateNewKey- Returns:
- Throws:
InternalErrorException
-
getCertificateValidityDate
Date getCertificateValidityDate() throws InternalErrorException, InternalErrorException
Operation getCertificateValidityDate- Returns:
- Throws:
InternalErrorException
-
reset
void reset() throws InternalErrorException, InternalErrorException
Operation reset- Throws:
InternalErrorException
-
storeNewCertificate
void storeNewCertificate(X509Certificate cert, X509Certificate root) throws InternalErrorException, InternalErrorException
Operation storeNewCertificate- Parameters:
cert
-root
-- Throws:
InternalErrorException
-
-