public class ChannelWrapperFactory extends java.lang.Object implements IChannelWrapperFactory
Constructor and Description |
---|
ChannelWrapperFactory()
Constructs the factory.
|
ChannelWrapperFactory(ISerializer serializer)
Constructs the factory.
|
Modifier and Type | Method and Description |
---|---|
IDuplexChannelUnwrapper |
createDuplexChannelUnwrapper(IMessagingSystemFactory outputMessagingSystem)
Creates the duplex channel unwrapper.
|
IDuplexChannelWrapper |
createDuplexChannelWrapper()
Creates the duplex channel wrapper.
|
ISerializer |
getSerializer()
Gets serializer which is used to serialize/deserialize DataWrapper.
|
GetSerializerCallback |
getSerializerProvider()
Gets callback for retrieving serializer based on response receiver id.
|
ChannelWrapperFactory |
setSerializer(ISerializer serializer)
Sets serializer which shall be used to serialize/deserialize DataWrapper.
|
ChannelWrapperFactory |
setSerializerProvider(GetSerializerCallback serializerProvider)
Sets callback for retrieving serializer based on response receiver id.
|
public ChannelWrapperFactory()
public ChannelWrapperFactory(ISerializer serializer)
serializer
- serializer used for wrapping channels with data messages.public IDuplexChannelWrapper createDuplexChannelWrapper()
IChannelWrapperFactory
createDuplexChannelWrapper
in interface IChannelWrapperFactory
public IDuplexChannelUnwrapper createDuplexChannelUnwrapper(IMessagingSystemFactory outputMessagingSystem)
IChannelWrapperFactory
createDuplexChannelUnwrapper
in interface IChannelWrapperFactory
outputMessagingSystem
- Messaging used to create output channels where unwrapped messages will be sent.public ChannelWrapperFactory setSerializer(ISerializer serializer)
serializer
- serializerpublic ISerializer getSerializer()
public GetSerializerCallback getSerializerProvider()
public ChannelWrapperFactory setSerializerProvider(GetSerializerCallback serializerProvider)
serializerProvider
-