Class ProtocolFactory
- java.lang.Object
-
- com.swiftmq.filetransfer.protocol.ProtocolFactory
-
- All Implemented Interfaces:
MessageBasedFactory
public class ProtocolFactory extends java.lang.Object implements MessageBasedFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DUMPID_PROP
static int
PROTOCOL_REP
static int
PROTOCOL_REQ
-
Constructor Summary
Constructors Constructor Description ProtocolFactory()
ProtocolFactory(MessageBasedFactory delegatedFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageBased
create(javax.jms.Message message)
void
setDelegatedFactory(MessageBasedFactory delegatedFactory)
-
-
-
Field Detail
-
DUMPID_PROP
public static final java.lang.String DUMPID_PROP
- See Also:
- Constant Field Values
-
PROTOCOL_REQ
public static final int PROTOCOL_REQ
- See Also:
- Constant Field Values
-
PROTOCOL_REP
public static final int PROTOCOL_REP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProtocolFactory
public ProtocolFactory()
-
ProtocolFactory
public ProtocolFactory(MessageBasedFactory delegatedFactory)
-
-
Method Detail
-
setDelegatedFactory
public void setDelegatedFactory(MessageBasedFactory delegatedFactory)
-
create
public MessageBased create(javax.jms.Message message) throws javax.jms.JMSException
- Specified by:
create
in interfaceMessageBasedFactory
- Throws:
javax.jms.JMSException
-
-