aa4mm.basic.coupling.artefacts_ports
Class InputPort<I extends SimulData>

java.lang.Object
  extended by aa4mm.basic.coupling.artefacts_ports.InputPort<I>
Type Parameters:
I -
All Implemented Interfaces:
JmsPort

public abstract class InputPort<I extends SimulData>
extends java.lang.Object
implements JmsPort

Author:
siebertj

Field Summary
protected  java.lang.Class<I> classI
           
protected  jmsInput<I> jmsInputBinding
          A JMS communication channel in order to send messages.
 
Constructor Summary
InputPort(java.lang.Class<I> ObjectClassToSendToJms, java.lang.String NameOfInputPortToJms)
          A generic constructor
 
Method Summary
 java.lang.Class<I> getClassI()
           
 void post(ValidData vData)
          Post formatted data to JMS platform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface aa4mm.basic.coupling.artefacts_ports.JmsPort
init, setJMSConnexionParameters
 

Field Detail

jmsInputBinding

protected jmsInput<I extends SimulData> jmsInputBinding
A JMS communication channel in order to send messages.


classI

protected java.lang.Class<I extends SimulData> classI
Constructor Detail

InputPort

public InputPort(java.lang.Class<I> ObjectClassToSendToJms,
                 java.lang.String NameOfInputPortToJms)
A generic constructor

Parameters:
ObjectClassToSendToJms -
NameOfInputPortToJms -
Method Detail

post

public void post(ValidData vData)
          throws javax.jms.JMSException,
                 java.lang.NullPointerException
Post formatted data to JMS platform

Parameters:
vData -
currentTime -
nextTime -
Throws:
javax.jms.JMSException
java.lang.NullPointerException

getClassI

public java.lang.Class<I> getClassI()