de.osci.osci12.messagetypes
Class InitDialog

java.lang.Object
  |
  +--de.osci.osci12.messagetypes.OSCIMessage
        |
        +--de.osci.osci12.messagetypes.OSCIRequest
              |
              +--de.osci.osci12.messagetypes.InitDialog

public class InitDialog
extends OSCIRequest

Dialoginitialisierungs-Nachrichtenobjekt

Diese Klasse dient der Initialisierung eines expliziten Dialogs. Clients erhalten als Antwort auf diese Nachricht vom Intermediär ein Nachrichtenobjekt, welches im seinem ControlBlock die angeforderte ConversationId enthält. Diese Id wird beim Empfang der Antwort an das verwendete DialogHandler-Objekt übergeben. Der Client muß lediglich dieses DialogHandler-Objekt für alle weiteren Nachrichten verwenden, die innerhalb dieses Dialogs behandelt werden sollen.

Copyright: Copyright (c) 2003

Organisation:

See Also:
DialogHandler

Field Summary
 
Fields inherited from class de.osci.osci12.messagetypes.OSCIMessage
ACCEPT_DELIVERY, attachments, boundary, contentContainer, contentID, desiredLanguagesH, dialogHandler, encryptedData, EXIT_DIALOG, FETCH_DELIVERY, FETCH_PROCESS_CARD, FORWARD_DELIVERY, GET_MESSAGE_ID, hashableMsgPart, idModule, INIT_DIALOG, intermediaryCertificateH, MEDIATE_DELIVERY, NO_SELECTION_RULE, nonIntermediaryCertificatesH, PROCESS_DELIVERY, qualityOfTimestampTypeCreation, qualityOfTimestampTypeReception, RESPONSE_TO_ACCEPT_DELIVERY, RESPONSE_TO_EXIT_DIALOG, RESPONSE_TO_FETCH_DELIVERY, RESPONSE_TO_FETCH_PROCESS_CARD, RESPONSE_TO_FORWARD_DELIVERY, RESPONSE_TO_GET_MESSAGE_ID, RESPONSE_TO_INIT_DIALOG, RESPONSE_TO_MEDIATE_DELIVERY, RESPONSE_TO_PROCESS_DELIVERY, RESPONSE_TO_STORE_DELIVERY, SELECT_BY_DATE_OF_RECEPTION, SELECT_BY_MESSAGE_ID, SELECT_BY_RECENT_MODIFICATION, signatureHeader, SOAP_MESSAGE_ENCRYPTED, STORE_DELIVERY, TYPE_UNDEFINED
 
Constructor Summary
InitDialog(DialogHandler dh)
          Legt ein Nachrichtenobjekt zur Dialoginitialisierung an.
 
Method Summary
static void main(java.lang.String[] args)
          Description of the Method
 ResponseToInitDialog send()
          Description of the Method
 void writeXML(java.io.OutputStream out)
          Description of the Method
 
Methods inherited from class de.osci.osci12.messagetypes.OSCIRequest
getDesiredLanguages, sign
 
Methods inherited from class de.osci.osci12.messagetypes.OSCIMessage
addRole, debugOut, getAddressee, getDialogHandler, getMessageType, getOriginator, getOtherAuthors, getOtherReaders, getRoleForRefID, storeOSCIMsg, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitDialog

public InitDialog(DialogHandler dh)
           throws OSCIRoleException
Legt ein Nachrichtenobjekt zur Dialoginitialisierung an.

Parameters:
dh - DialogHandler-Objekt, welches für die folgenden Nachrichten initialisiert werden soll.
Throws:
OSCIRoleException - Description of Exception
See Also:
DialogHandler
Method Detail

main

public static void main(java.lang.String[] args)
Description copied from class: OSCIMessage
Description of the Method

Parameters:
args - null

send

public ResponseToInitDialog send()
                          throws java.io.IOException,
                                 OSCIException,
                                 SoapClientException,
                                 SoapServerException
Description of the Method

Returns:
Description of the Returned Value
Throws:
java.io.IOException - Description of Exception
OSCIException - Description of Exception
SoapClientException - Description of Exception
SoapServerException - Description of Exception

writeXML

public void writeXML(java.io.OutputStream out)
              throws java.io.IOException
Description of the Method

Overrides:
writeXML in class OSCIRequest
Parameters:
out - Description of Parameter
Throws:
java.io.IOException - Description of Exception