Examples of MSG


Examples of com.ufis_as.exco.MSG

    try {
      StringWriter writer = new StringWriter();
      _ms.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
      HpUfisCalendar ufisCalendar = new HpUfisCalendar(TimeZone.getTimeZone("UTC"));

      MSG msg = new MSG();
      MSG.MSGSTREAMIN msgstream_in = new MSG.MSGSTREAMIN();

      // HEADER
      INFOBJGENERIC infobjgeneric = new INFOBJGENERIC();
      infobjgeneric.setACTIONTYPE(ACTIONTYPE.U);
      infobjgeneric.setMESSAGETYPE(HpEKConstants.JCEDA_SOURCE);
      infobjgeneric.setMESSAGEORIGIN(HpEKConstants.FLT_CONX_SOURCE);
      infobjgeneric.setURNO(idFlight);
      infobjgeneric.setTIMEID(TIMEID.UTC);
      infobjgeneric.setTIMESTAMP(ufisCalendar.getCedaString());

      // BODY
      MSGOBJECTS msgObjects = new MSGOBJECTS();
      INFOBJFLIGHT infobjFlight = new INFOBJFLIGHT();
      String cxCount = Integer.toString(criticalCount);
      String sxCount = Integer.toString(shortCount);
      //infobjFlight.setCXPX(cxpx);
      if (HpUfisAppConstants.CON_LOAD_BAG_SUMMARY.equalsIgnoreCase(tab)) {
        infobjFlight.setCXBG(cxCount);
        infobjFlight.setSXBG(sxCount);
      } else if (HpUfisAppConstants.CON_LOAD_PAX_SUMMARY.equalsIgnoreCase(tab)) {
        infobjFlight.setCXPX(cxCount);
        infobjFlight.setSXPX(sxCount);
      } else if (HpUfisAppConstants.CON_LOAD_ULD_SUMMARY.equalsIgnoreCase(tab)) {
        infobjFlight.setCXUD(cxCount);
        infobjFlight.setSXUD(sxCount);
      }
      msgObjects.setINFOBJFLIGHT(infobjFlight);

      // set HEADER and BODY to MSG
      msgstream_in.setINFOBJGENERIC(infobjgeneric);
      msgstream_in.setMSGOBJECTS(msgObjects);
      msg.setMSGSTREAMIN(msgstream_in);

      _ms.marshal(msg, writer);

      // String message = writer.toString();
      // message = message.replace("<INFOBJ_FLIGHT/>",
View Full Code Here

Examples of mazz.i18n.Msg

     * Creates a {@link Msg} that uses the messages resource bundle and the VM's default locale.
     *
     * @return object that can be used to look up I18N messages
     */
    public static Msg getMsg() {
        return new Msg(s_bundleBaseName);
    }
View Full Code Here

Examples of net.sf.launch4j.config.Msg

* @author Copyright (C) 2006 Grzegorz Kowal
*/
public class MessagesFormImpl extends MessagesForm {

  public MessagesFormImpl(Bindings bindings) {
    Msg m = new Msg();
    bindings.addOptComponent("messages", Msg.class, _messagesCheck)
        .add("messages.startupErr", _startupErrTextArea,   m.getStartupErr())
        .add("messages.bundledJreErr", _bundledJreErrTextArea, m.getBundledJreErr())
        .add("messages.jreVersionErr", _jreVersionErrTextArea, m.getJreVersionErr())
        .add("messages.launcherErr", _launcherErrTextArea, m.getLauncherErr())
        .add("messages.instanceAlreadyExistsMsg", _instanceAlreadyExistsMsgTextArea,
            m.getInstanceAlreadyExistsMsg());
  }
View Full Code Here

Examples of org.apache.commons.validator.Msg

     * @param field           The Validator Field
     */
    public static String getMessage(ServletContext application,
        HttpServletRequest request, MessageResources defaultMessages,
        Locale locale, ValidatorAction va, Field field) {
        Msg msg = field.getMessage(va.getName());

        if ((msg != null) && !msg.isResource()) {
            return msg.getKey();
        }

        String msgKey = null;
        String msgBundle = null;
        MessageResources messages = defaultMessages;

        if (msg == null) {
            msgKey = va.getMsg();
        } else {
            msgKey = msg.getKey();
            msgBundle = msg.getBundle();

            if (msg.getBundle() != null) {
                messages =
                    getMessageResources(application, request, msg.getBundle());
            }
        }

        if ((msgKey == null) || (msgKey.length() == 0)) {
            return "??? " + va.getName() + "." + field.getProperty() + " ???";
View Full Code Here

Examples of org.apache.geronimo.datastore.impl.remote.messaging.Msg

        CommandRequest command = (CommandRequest) body.getContent();

        command.setTarget(this);
       
        CommandResult result = command.execute();
        Msg msg = new Msg();
        body = msg.getBody();
        body.setContent(result);
        MsgOutInterceptor reqOut =
            new HeaderOutInterceptor(
                MsgHeaderConstants.CORRELATION_ID,
                id,
View Full Code Here

Examples of org.apache.geronimo.messaging.Msg

            popSynchronization = aSynchronization;
        }
    }
   
    public Msg pop() {
        Msg msg;
        try {
            synchronized (rawIn) {
                Object opaque = popSynchronization.beforePop(streamInputStream);
                msg = (Msg) streamInputStream.readObject();
                popSynchronization.afterPop(streamInputStream, msg, opaque);
View Full Code Here

Examples of org.apache.geronimo.remoting.transport.Msg

        }

        Runnable work = new Runnable() {
            public void run() {
                try {
                    Msg result = dispatcher.sendRequest(to, data);
                    source.sendResponse(result, data.requestId);
                } catch (Throwable e) {
                    log.trace("Request failed.", e);
                }
            }
View Full Code Here

Examples of org.apache.jk.core.Msg

       
        res.setOutputBuffer( this );
        req.setInputBuffer( this );
       
        if( ep.getNote( headersMsgNote ) == null ) {
            Msg msg2=new MsgAjp();
            ep.setNote( headersMsgNote, msg2 );
        }
       
        res.setNote( epNote, ep );
        ep.setStatus( JK_STATUS_HEAD );
View Full Code Here

Examples of org.eclipse.swt.internal.win32.MSG

        SWT.error(SWT.ERROR_NO_MORE_CALLBACKS);
      int threadId = Extension.GetCurrentThreadId();
      procHandle = Extension.SetWindowsHookEx(Extension.WH_GETMESSAGE,
          oleMsgProcAddress, 0, threadId);
      Display.getDefault().setData(HHOOK, new LONG(procHandle));
      Display.getDefault().setData(HHOOKMSG, new MSG());
    }
  }
View Full Code Here

Examples of org.kapott.hbci.protocol.MSG

      super(Integer.parseInt(HBCIUtils.getParam("kernel.objpool.MSG","8")));
    }
   
    public MSG createMSG(String type,MsgGen gen,Hashtable<String,String> clientValues)
    {
        MSG ret=(MSG)getFreeObject();
       
        if (ret==null) {
            // HBCIUtils.log("creating new MSG object",HBCIUtils.LOG_DEBUG);
            ret=new MSG(type,gen,clientValues);
            addToUsedPool(ret);
        } else {
            // HBCIUtils.log("resuing MSG object",HBCIUtils.LOG_DEBUG);
            try {
                ret.init(type,gen,clientValues);
                addToUsedPool(ret);
            } catch (Exception e) {
                addToFreePool(ret);
                throw (RuntimeException)e;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.