Cumulus4j API
(1.2.0)

org.cumulus4j.keymanager.back.shared
Class Request

java.lang.Object
  extended by org.cumulus4j.keymanager.back.shared.Message
      extended by org.cumulus4j.keymanager.back.shared.Request
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GetActiveEncryptionKeyRequest, GetKeyRequest

public abstract class Request
extends Message

Super-class for all requests sent from app-server to key-manager.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
See Also:
Response, Serialized Form

Constructor Summary
Request()
           
Request(String cryptoSessionID)
           
 
Method Summary
 String getCryptoSessionID()
           
 String getCryptoSessionIDPrefix()
          Get the session-id-prefix that is used for routing of messages.
 void setCryptoSessionID(String cryptoSessionID)
           
 String toString()
           
 
Methods inherited from class org.cumulus4j.keymanager.back.shared.Message
equals, getRequestID, hashCode, setRequestID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Request

public Request()

Request

public Request(String cryptoSessionID)
Method Detail

getCryptoSessionID

public String getCryptoSessionID()

setCryptoSessionID

public void setCryptoSessionID(String cryptoSessionID)

getCryptoSessionIDPrefix

public String getCryptoSessionIDPrefix()
Get the session-id-prefix that is used for routing of messages.

See org.cumulus4j.keymanager.Session and org.cumulus4j.keymanager.SessionManager for its creation.

Returns:
the session-id-prefix that is used for routing of messages.

toString

public String toString()
Overrides:
toString in class Object

Cumulus4j API
(1.2.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.