public interface RpcServerServices<SessionClazz>
| Modifier and Type | Method and Description |
|---|---|
SessionId |
login(RpcCredentials inCredentials)
Authenticates the given credentials.
|
void |
logout(String inSessionId)
Invalidates the given session.
|
String |
marshal(Object inObject)
Marshals the given object to XML.
|
<Clazz> Clazz |
unmarshall(String inData)
Unmarshals the given XML stream.
|
SessionHolder<SessionClazz> |
validateAndReturnSession(String inSessionId)
Validates that the given session is active.
|
SessionId login(RpcCredentials inCredentials)
inCredentials - an RpcCredentials valueSessionId valuevoid logout(String inSessionId)
inSessionId - a String valueSessionHolder<SessionClazz> validateAndReturnSession(String inSessionId)
inSessionId - a String valueSessionHolder<SessionClazz> valueString marshal(Object inObject) throws JAXBException
inObject - an Object valueString valueJAXBException - if an error occurs marshalling the object<Clazz> Clazz unmarshall(String inData) throws JAXBException
inData - a String valueClazz valueJAXBException - if an error occurs unmarshalling the streamCopyright © 2015. All Rights Reserved.