/* (non-Javadoc)
@see com.ibm.ws.sib.processor.runtime.SIMPRemoteMessageRequestControllable#getRequestMessageInfo()
965936
public SIMPRequestedValueMessageInfo getRequestedValueMessageInfo() throws SIMPRuntimeOperationFailedException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getRequestedValueMessageInfo");

    SIMPRequestedValueMessageInfo requestedValueMessageInfo = null;
    try
    {
      TickRange tickRange = getTickRange();
      synchronized(tickRange)
      {
        if (State.VALUE.toString().equals(getState(tickRange)))
        {
          // This RemoteMessageRequest is in state request so lets get the info
          requestedValueMessageInfo = new RequestedValueMessageInfo((AIValueTick)tickRange.value);
        }
      }
    }
    catch(SIMPException e)
    {
      FFDCFilter.processException(
        e,
        "com.ibm.ws.sib.processor.runtime.RemoteMessageRequest.getRequestedValueMessageInfo",
        "1:456:1.34",
        this);

      SIMPRuntimeOperationFailedException e1 =
        new SIMPRuntimeOperationFailedException(
          nls.getFormattedMessage(
            "INTERNAL_MESSAGING_ERROR_CWSIP0003",
            new Object[] {"RemoteMessageRequest.getRequestedValueMessageInfo",
                          "1:464:1.34",
                          e,
                          _aiStream.getStreamId()},
            null), e);

      SibTr.exception(tc, e1);
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getRequestedValueMessageInfo", e1);
      throw e1;
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getRequestedValueMessageInfo", requestedValueMessageInfo);
    return requestedValueMessageInfo;
  }
1198574
public com.google.protobuf.ByteString
      getRequestMethodBytes() {
    java.lang.Object ref = requestMethod_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      requestMethod_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
610067
protected String getInfoMessage() {
		try {
			return (String) APICallContext.getCallContext().getCurrentSession().getAttribute("infoMessage");
		}catch(Exception any){
			return null;
		}
	}
523335
public JsMessage getJsMessage() throws SIMPControllableNotFoundException, SIMPException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getJsMessage");

    assertValidControllable();
    JsMessage returnMessage =  msgItem.getMessage();

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getJsMessage");
    return returnMessage;
  }
110713
public String getMessageInfoType(BaseMessage externalMessage)
    {
        if (externalMessage != null)
            if (externalMessage.getMessageHeader() != null)
                if (externalMessage.getMessageHeader().get(TrxMessageHeader.MESSAGE_INFO_TYPE) != null)
                    return (String)externalMessage.getMessageHeader().get(TrxMessageHeader.MESSAGE_INFO_TYPE);
        return MessageInfoTypeModel.REQUEST;   // Override this to check for sure.
    }
581304
def simxGetOutMessageInfo(clientID, infoType):
    '''
    
    '''
    info = ct.c_int()
    return c_GetOutMessageInfo(clientID, infoType, ct.byref(info)), info.value
58270
public SerialMessage getNoMoreInformationMessage() {
		logger.debug("Creating new message for application command WAKE_UP_NO_MORE_INFORMATION for node {}", this.getNode().getNodeId());
		SerialMessage result = new SerialMessage(this.getNode().getNodeId(), SerialMessage.SerialMessageClass.SendData, SerialMessage.SerialMessageType.Request, SerialMessage.SerialMessageClass.SendData, SerialMessage.SerialMessagePriority.Low);
    	byte[] newPayload = { 	(byte) this.getNode().getNodeId(), 
    							2, 
								(byte) getCommandClass().getKey(), 
								(byte) WAKE_UP_NO_MORE_INFORMATION };
    	result.setMessagePayload(newPayload);

    	return result;
	}
935668
public String getDetailMessage()
    {
        if(errorDetails == null || errorDetails.isEmpty())
            return getMessage();

        StringBuilder sb = new StringBuilder(512);
        sb.append(getMessage());
        sb.append(" [");

        for (int i = 0; i < errorDetails.size(); i++)
        {
            ErrorDetail errorDetail = errorDetails.get(i);
            if(i > 0)
                sb.append(", ");
            sb.append(errorDetail.getMessage());
        }
        sb.append("]");

        return sb.toString();
    }
823172
public int getMessageLength() {
    // Message type, number of transients
    int length = 1 + 4;
    if (this.transientRequests != null) {
      for (OnDemandRequest request : this.transientRequests) {
        length += request.getLength();
      }
    }

    return length;
  }
1072693
@Override
    public String getGatherMessages() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getGatherMessages");

        String gatherMessages = (String) properties.get(GATHER_MESSAGES);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "getGatherMessages");
        return gatherMessages;
    }
647416
private MessageEmitSvlt getMessageObj(final HttpServletRequest request,
                                        final MessageResources messages) {
    return (MessageEmitSvlt)StrutsUtil
            .getMessageObj(getId(), this, request,
                           messages,
                           getMessageObjAttrName(),
                           getErrorObjErrProp(),
                           clearMessages());
  }
1089555
@Override
    public String getMessage()
    {
        String locMsg = getLocationDesc();
        /* Better not use super's message if we do have location information,
         * since parent's message contains (part of) Location
         * info; something we can regenerate better...
         */
        if (locMsg == null) {
            return super.getMessage();
        }
        StringBuilder sb = new StringBuilder(mMsg.length() + locMsg.length() + 20);
        sb.append(mMsg);
        StringUtil.appendLF(sb);
        sb.append(" at ");
        sb.append(locMsg);
        return sb.toString();
    }
1050811
public MessageProcessInfoModel getMessageProcessInfo(String strMessageInfoType, String strContactType, String strRequestType, String strMessageProcessType, String strProcessType)
    {
        int iOldKeyArea = this.getDefaultOrder();
        try {
            Record recMessageInfo = ((ReferenceField)this.getField(MessageProcessInfo.MESSAGE_INFO_ID)).getReferenceRecord();
            int iMessageTypeID = ((ReferenceField)recMessageInfo.getField(MessageInfo.MESSAGE_INFO_TYPE_ID)).getIDFromCode(strMessageInfoType);
            if (iMessageTypeID <= 0)
                return null;
            recMessageInfo.getField(MessageInfo.MESSAGE_INFO_TYPE_ID).setValue(iMessageTypeID);
            int iContactTypeID = ((ReferenceField)recMessageInfo.getField(MessageInfo.CONTACT_TYPE_ID)).getIDFromCode(strContactType);
            if (iContactTypeID <= 0)
                return null;
            recMessageInfo.getField(MessageInfo.CONTACT_TYPE_ID).setValue(iContactTypeID);
            int iRequestTypeID = ((ReferenceField)recMessageInfo.getField(MessageInfo.REQUEST_TYPE_ID)).getIDFromCode(strRequestType);
            if (iRequestTypeID <= 0)
                return null;
            recMessageInfo.getField(MessageInfo.REQUEST_TYPE_ID).setValue(iRequestTypeID);
            recMessageInfo.setKeyArea(MessageInfo.MESSAGE_INFO_TYPE_ID_KEY);
            if (recMessageInfo.seek(DBConstants.EQUALS))
            {
                this.setKeyArea(MessageProcessInfo.MESSAGE_INFO_ID_KEY);
                this.getField(MessageProcessInfo.MESSAGE_INFO_ID).moveFieldToThis((BaseField)recMessageInfo.getCounterField());
                int iMessageProcessTypeID = ((ReferenceField)this.getField(MessageProcessInfo.MESSAGE_TYPE_ID)).getIDFromCode(strMessageProcessType);
                if (iMessageProcessTypeID <= 0)
                    return null;
                this.getField(MessageProcessInfo.MESSAGE_TYPE_ID).setValue(iMessageProcessTypeID);
                int iProcessTypeID = ((ReferenceField)this.getField(MessageProcessInfo.PROCESS_TYPE_ID)).getIDFromCode(strProcessType);
                if (iProcessTypeID <= 0)
                    return null;
                this.getField(MessageProcessInfo.PROCESS_TYPE_ID).setValue(iProcessTypeID);
                
                if (this.seek(null))
                    return this;
            }
            // Try the parent contact type
            Record recContactType = ((ReferenceField)recMessageInfo.getField(MessageInfo.CONTACT_TYPE_ID)).getReferenceRecord();
            if (recContactType != null)
            {
                recContactType = ((ReferenceField)recContactType.getField(ContactType.PARENT_CONTACT_TYPE_ID)).getReference();
                if (recContactType != null)
                    if ((recContactType.getEditMode() == DBConstants.EDIT_CURRENT) || (recContactType.getEditMode() == DBConstants.EDIT_IN_PROGRESS))
                {
                    strContactType = recContactType.getField(ContactType.CODE).toString();
                    if (strContactType != null)
                        return this.getMessageProcessInfo(strMessageInfoType, strContactType, strRequestType, strMessageProcessType, strProcessType);
                }
            }
        } catch (DBException ex)    {
            ex.printStackTrace();
        } finally {
            this.setKeyArea(iOldKeyArea);   // Set this back
        }
        return null;
    }
1207206
public String getMessage() 
   {
      String msg = super.getMessage();
      String ec = getErrorCode();
      if ((msg == null) && (ec == null)) 
      {
         return null;
      }
      if ((msg != null) && (ec != null)) 
      {
         return (msg + ", error code: " + ec);
      }
      return ((msg != null) ? msg : ("error code: " + ec));
   }
1097914
@Override
  public void sendLocationInformationRequest(JLocationInfoRequest request)
      throws InternalException, IllegalDiameterStateException, RouteException, OverloadException {
    send(Event.Type.SEND_MESSAGE, request, null);
  }
599423
@Override
  public MessageRepresentation getMessage(int commandCode, long applicationId, boolean isRequest) {
    if (!this.configured) {
      return null;
    }
    MessageRepresentation key = new MessageRepresentationImpl(commandCode, applicationId, isRequest);
    return this.commandMap.get(key);
  }
244358
@Override
    public String getPathInfo() {
        try {
            collaborator.preInvoke(componentMetaData);
            return request.getPathInfo();
        } finally {
            collaborator.postInvoke();
        }
    }