public class SocketCommandProcessor extends BaseCommandProcessor
when inited the valid userid and password is passed, then as each command is processed the processCommand method verifies the two fields correctness
| Constructor and Description |
|---|
SocketCommandProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Component lifecycle hook.
|
void |
init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
void |
processCommand() |
addCommands, getCommands, getName, getParameters, getSession, schedule, terminatepublic void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
Componentinit in interface Componentinit in class BaseCommandProcessorsession - the component uses this object to access other componentsparameters - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionpublic void processCommand()
throws OpenAS2Exception
processCommand in interface CommandProcessorprocessCommand in class BaseCommandProcessorOpenAS2Exceptionpublic void destroy()
throws Exception
ComponentComponent requires a destroy function this method can be used.destroy in interface Componentdestroy in class BaseCommandProcessorException - Something went wrongComponent.init(Session, Map),
SessionCopyright © 2019. All rights reserved.