Package org.somda.sdc.dpws
Class CommunicationLogSinkImpl
- java.lang.Object
-
- org.somda.sdc.dpws.CommunicationLogSinkImpl
-
- All Implemented Interfaces:
CommunicationLogSink
public class CommunicationLogSinkImpl extends Object implements CommunicationLogSink
Default implementation of CommunicationLogSink.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStreamcreateTargetStream(CommunicationLog.TransportType transportType, CommunicationLog.Direction direction, CommunicationLog.MessageType messageType, CommunicationContext communicationContext)Creates a branch based on the given key and path.
-
-
-
Method Detail
-
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.
-
-