Package org.somda.sdc.dpws
Class CommunicationLogSinkImpl
java.lang.Object
org.somda.sdc.dpws.CommunicationLogSinkImpl
- All Implemented Interfaces:
CommunicationLogSink
Default implementation of CommunicationLogSink.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTargetStream(CommunicationLog.TransportType transportType, CommunicationLog.Direction direction, CommunicationLog.MessageType messageType, CommunicationContext communicationContext) Creates a branch based on the given key and path.
-
Method Details
-
createTargetStream
public OutputStream createTargetStream(CommunicationLog.TransportType transportType, CommunicationLog.Direction direction, CommunicationLog.MessageType messageType, CommunicationContext communicationContext) Description copied from interface:CommunicationLogSinkCreates a branch based on the given key and path.- Specified by:
createTargetStreamin interfaceCommunicationLogSink- Parameters:
transportType- path to save the key to branch mapping in.direction- direction of message to store.messageType- the type of the message i.e. request, response.communicationContext- context which can be used to derive storage information.- Returns:
- an OutputStream, that represents the branch to write to.
-