mx.udlap.kjGateway
Class SimpleJMSTransport

java.lang.Object
  extended bymx.udlap.kjGateway.SimpleJMSTransport
All Implemented Interfaces:
JMSTransport

public class SimpleJMSTransport
extends java.lang.Object
implements JMSTransport


Field Summary
static int CLASSLOADING
           
static int JMSFAILED
           
static int JNDIFAILED
           
static int NOTSTARTED
           
static int OTHER
           
static java.lang.String prop_ConnectionFactoryName
           
static java.lang.String prop_InBoundTopicName
           
static java.lang.String prop_JMSTranslatorClass
           
static java.lang.String prop_OutBoundTopicName
           
static int STARTED
           
 
Constructor Summary
SimpleJMSTransport()
           
 
Method Summary
 void addKjWritingThread(KjWritingThread writer)
           
 void empty(java.lang.Object ack)
           
 int getStatus()
           
 void gotMOMessage(SMSPacketMessage smsMessage)
           
 void gotMTMessage(java.lang.Object obj)
           
 void onMessage(Message parMessage)
           
 void start(java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prop_ConnectionFactoryName

public static final java.lang.String prop_ConnectionFactoryName
See Also:
Constant Field Values

prop_InBoundTopicName

public static final java.lang.String prop_InBoundTopicName
See Also:
Constant Field Values

prop_OutBoundTopicName

public static final java.lang.String prop_OutBoundTopicName
See Also:
Constant Field Values

prop_JMSTranslatorClass

public static final java.lang.String prop_JMSTranslatorClass
See Also:
Constant Field Values

NOTSTARTED

public static final int NOTSTARTED
See Also:
Constant Field Values

STARTED

public static final int STARTED
See Also:
Constant Field Values

JMSFAILED

public static final int JMSFAILED
See Also:
Constant Field Values

JNDIFAILED

public static final int JNDIFAILED
See Also:
Constant Field Values

CLASSLOADING

public static final int CLASSLOADING
See Also:
Constant Field Values

OTHER

public static final int OTHER
See Also:
Constant Field Values
Constructor Detail

SimpleJMSTransport

public SimpleJMSTransport()
Method Detail

start

public void start(java.util.Properties props)
Specified by:
start in interface JMSTransport

getStatus

public int getStatus()

empty

public void empty(java.lang.Object ack)
Specified by:
empty in interface JMSTransport

onMessage

public void onMessage(Message parMessage)

addKjWritingThread

public void addKjWritingThread(KjWritingThread writer)
Specified by:
addKjWritingThread in interface JMSTransport

gotMOMessage

public void gotMOMessage(SMSPacketMessage smsMessage)
Specified by:
gotMOMessage in interface JMSTransport

gotMTMessage

public void gotMTMessage(java.lang.Object obj)
Specified by:
gotMTMessage in interface JMSTransport