Codota Logo
org.ccsds.moims.mo.mal.structures
Code IndexAdd Codota to your IDE (free)

How to use org.ccsds.moims.mo.mal.structures

Best Java code snippets using org.ccsds.moims.mo.mal.structures (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: int.esa.ccsds.mo/API_COMMON

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (area != null ? area.hashCode() : 0);
 hash = 83 * hash + (service != null ? service.hashCode() : 0);
 hash = 83 * hash + (version != null ? version.hashCode() : 0);
 return hash;
}
origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (address != null ? address.hashCode() : 0);
 hash = 83 * hash + (data != null ? data.hashCode() : 0);
 hash = 83 * hash + (checksum != null ? checksum.hashCode() : 0);
 return hash;
}
origin: int.esa.ccsds.mo/TRANSPORT_GEN

@Override
public UShort getServiceNumber()
{
 return new UShort(0);
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

public UIntegerList getMissingIndexes() {
  UIntegerList missingIndexes = new UIntegerList();
  long nOfChunks = numberOfChunks.getValue();
  for (int i = 0; i < nOfChunks; i++) {
    if (receivedChunks.get(i) == null) {
      missingIndexes.add(new UInteger());
    }
  }
  return missingIndexes;
}
origin: int.esa.ccsds.mo/MAL_IMPL

/**
 * Constructor.
 * @param hdr Source message.
 */
public BrokerKey(final MALMessageHeader hdr)
{
 this.uri = hdr.getURITo().getValue();
 this.session = hdr.getSession().getOrdinal();
 this.sessionName = hdr.getSessionName().getValue();
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

public static Boolean objectTypeContainsWildcard(final ObjectType objType) {
  return (objType.getArea().getValue() == 0
      || objType.getService().getValue() == 0
      || objType.getVersion().getValue() == 0
      || objType.getNumber().getValue() == 0);
}
origin: int.esa.ccsds.mo/TRANSPORT_JMS

private static String getIdValue(final Identifier id)
{
 if ((null != id) && (null != id.getValue()))
 {
  return id.getValue();
 }
 return null;
}
origin: int.esa.ccsds.mo/TRANSPORT_JMS

public JMSBrokerBinding(URI uri, String localName, Blob authenticationId, QoSLevel[] expectedQos, UInteger priorityLevelNumber)
{
 this.uri = uri;
 this.localName = localName;
 this.authenticationId = new Blob(JMSTransport.authId);
 this.expectedQos = expectedQos;
 this.priorityLevelNumber = priorityLevelNumber;
}

origin: int.esa.ccsds.mo/API_COMMON

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (supportedLevels != null ? supportedLevels.hashCode() : 0);
 hash = 83 * hash + (QoSproperties != null ? QoSproperties.hashCode() : 0);
 hash = 83 * hash + (priorityLevels != null ? priorityLevels.hashCode() : 0);
 hash = 83 * hash + (serviceURI != null ? serviceURI.hashCode() : 0);
 hash = 83 * hash + (brokerURI != null ? brokerURI.hashCode() : 0);
 hash = 83 * hash + (brokerProviderObjInstId != null ? brokerProviderObjInstId.hashCode() : 0);
 return hash;
}
origin: int.esa.ccsds.mo/TRANSPORT_GEN

@Override
public URI getURI()
{
 return new URI(localURI);
}
origin: int.esa.nmf.core.moservices.impl/ccsds-mc

public Integer getOldestIndex(Long objId, double oldestTimeInMs) {
  // get index of oldestTimeInMs (or the next higher index, if oldestTimeInMs not in list)
  TimeList allTimes = timeSets.get(objId);
  if (allTimes == null) {
    return null;
  }
  int i = 0;
  for (; i < allTimes.size() && allTimes.get(i).getValue() < oldestTimeInMs; i++);
  return i;
}
origin: int.esa.ccsds.mo/TRANSPORT_TCPIP

/**
 * The MAL TCPIP binding supports SEND, SUBMIT, REQUEST, INVOKE and
 * PROGRESS. PUBSUB is not supported. A MAL implementation layer has to
 * support PUBSUB itself.
 *
 * @param type
 * @return
 */
@Override
public boolean isSupportedInteractionType(final InteractionType type) {
  return InteractionType.PUBSUB.getOrdinal() != type.getOrdinal();
}
origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (address != null ? address.hashCode() : 0);
 hash = 83 * hash + (length != null ? length.hashCode() : 0);
 return hash;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-mc

/**
 * adds the index to the list, ONLY IF it is not contained in the list yet.
 *
 * @param index
 */
public void addUnkIndex(UInteger index) {
  if (!this.unkIndexList.contains(index)) {
    this.unkIndexList.add(index);
  }
}
origin: int.esa.ccsds.mo/API_COMMON

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (objType != null ? objType.hashCode() : 0);
 hash = 83 * hash + (domain != null ? domain.hashCode() : 0);
 hash = 83 * hash + (objInstIds != null ? objInstIds.hashCode() : 0);
 return hash;
}
origin: int.esa.ccsds.mo/ENCODING_GEN

@Override
public Element decodeElement(final Element element) throws IllegalArgumentException, MALException
{
 return element.decode(this);
}
origin: int.esa.nmf.core.moservices.api/platform

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (velocity != null ? velocity.hashCode() : 0);
 return hash;
}
origin: int.esa.ccsds.mo/MAL_IMPL

/**
 * Constructor.
 *
 * @param hdr Source message.
 */
public AddressKey(final MALMessageHeader hdr)
{
 this.uri = hdr.getURITo().getValue();
 this.domain = hdr.getDomain();
 this.networkZone = hdr.getNetworkZone().getValue();
 this.session = hdr.getSession().getOrdinal();
 this.sessionName = hdr.getSessionName().getValue();
}
origin: int.esa.nmf.core.moservices.api/com-nmf

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (area != null ? area.hashCode() : 0);
 hash = 83 * hash + (service != null ? service.hashCode() : 0);
 hash = 83 * hash + (version != null ? version.hashCode() : 0);
 hash = 83 * hash + (number != null ? number.hashCode() : 0);
 return hash;
}
origin: int.esa.nmf.core.moservices.api/platform

/**
 * Returns a hash code for this object.
 * @return a hash code value for this object.
 */
public int hashCode()
{
 int hash = 7;
 hash = 83 * hash + (width != null ? width.hashCode() : 0);
 hash = 83 * hash + (height != null ? height.hashCode() : 0);
 return hash;
}
org.ccsds.moims.mo.mal.structures

Most used classes

  • Identifier
  • IdentifierList
  • URI
  • UOctet
  • UShort
  • UInteger,
  • Union,
  • UpdateHeaderList,
  • Time,
  • Duration,
  • EntityKeyList,
  • LongList,
  • Subscription,
  • StringList,
  • BooleanList,
  • Element,
  • EntityKey,
  • InteractionType,
  • UIntegerList
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now