Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.k_int.OpenRequest.actions.iso10161
Class HandleILL_PDU  view HandleILL_PDU download HandleILL_PDU.java

java.lang.Object
  extended bycom.k_int.OpenRequest.api.AbstractMessageHandler
      extended bycom.k_int.OpenRequest.actions.iso10161.HandleILL_PDU

public class HandleILL_PDU
extends com.k_int.OpenRequest.api.AbstractMessageHandler


Field Summary
private static LoggingContext cat
           
private static java.lang.String[][] msg_names
           
 
Constructor Summary
HandleILL_PDU()
           
 
Method Summary
 java.lang.Object handle(java.lang.String event, java.lang.Object message, com.k_int.OpenRequest.api.MessageHandlerContext ctx)
          Handle an incoming ISO 10161 indication event.
 boolean isValidTransition(com.k_int.OpenRequest.db.ILLTransaction transaction, Session session, java.lang.String event_code)
           
 void performTransition(com.k_int.OpenRequest.db.ILLTransaction transaction, Session session, java.lang.String event_code)
           
 void sendLocationIndication(com.k_int.OpenRequest.api.MessageDispatcher dispatcher, com.k_int.OpenRequest.isoill.ILLMessageEnvelope em, com.k_int.OpenRequest.db.ILLTransaction t, Session session, java.lang.String event, com.k_int.OpenRequest.db.Location.Location this_location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

private static LoggingContext cat

msg_names

private static java.lang.String[][] msg_names
Constructor Detail

HandleILL_PDU

public HandleILL_PDU()
Method Detail

isValidTransition

public boolean isValidTransition(com.k_int.OpenRequest.db.ILLTransaction transaction,
                                 Session session,
                                 java.lang.String event_code)

performTransition

public void performTransition(com.k_int.OpenRequest.db.ILLTransaction transaction,
                              Session session,
                              java.lang.String event_code)

sendLocationIndication

public void sendLocationIndication(com.k_int.OpenRequest.api.MessageDispatcher dispatcher,
                                   com.k_int.OpenRequest.isoill.ILLMessageEnvelope em,
                                   com.k_int.OpenRequest.db.ILLTransaction t,
                                   Session session,
                                   java.lang.String event,
                                   com.k_int.OpenRequest.db.Location.Location this_location)

handle

public java.lang.Object handle(java.lang.String event,
                               java.lang.Object message,
                               com.k_int.OpenRequest.api.MessageHandlerContext ctx)
                        throws com.k_int.OpenRequest.api.MessageHandlerException
Handle an incoming ISO 10161 indication event. Preconditions: message parameter can be cast into the class expected by this handler (ILL_APDU_type). Postconditions: If a valid transaction can be located for the request and the request indicates a valid transition in that transaction then the request will be saved in the database, the state of the transaction will be updated. Otherwise a message will be generated and sent to the administrator.