Skip to content

Commit

Permalink
added generated iLink3 messages
Browse files Browse the repository at this point in the history
  • Loading branch information
chrjohn committed Oct 18, 2024
1 parent 52c3d74 commit 1cbb322
Show file tree
Hide file tree
Showing 170 changed files with 185,842 additions and 0 deletions.
65 changes: 65 additions & 0 deletions artio-ilink3-codecs/build/generated-src/iLinkBinary/AvgPxInd.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/* Generated SBE (Simple Binary Encoding) message codec. */
package iLinkBinary;

@SuppressWarnings("all")
public enum AvgPxInd
{

/**
* No Average Pricing
*/
NoAveragePricing((short)0),


/**
* Trade is part of an Average Price Group Identified by the AvgPxGrp ID
*/
TradeispartofanAveragePriceGroupIdentifiedbytheAvgPxGrpID((short)1),


/**
* Trade is part of a Notional Value Average Price Group
*/
TradeispartofaNotionalValueAveragePriceGroup((short)3),

/**
* To be used to represent not present or null.
*/
NULL_VAL((short)255);

private final short value;

AvgPxInd(final short value)
{
this.value = value;
}

/**
* The raw encoded value in the Java type representation.
*
* @return the raw value encoded.
*/
public short value()
{
return value;
}

/**
* Lookup the enum value representing the value.
*
* @param value encoded to be looked up.
* @return the enum value representing the value.
*/
public static AvgPxInd get(final short value)
{
switch (value)
{
case 0: return NoAveragePricing;
case 1: return TradeispartofanAveragePriceGroupIdentifiedbytheAvgPxGrpID;
case 3: return TradeispartofaNotionalValueAveragePriceGroup;
case 255: return NULL_VAL;
}

throw new IllegalArgumentException("Unknown value: " + value);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/* Generated SBE (Simple Binary Encoding) message codec. */
package iLinkBinary;

@SuppressWarnings("all")
public enum BooleanFlag
{

/**
* False, No
*/
False((short)0),


/**
* True, Yes
*/
True((short)1),

/**
* To be used to represent not present or null.
*/
NULL_VAL((short)255);

private final short value;

BooleanFlag(final short value)
{
this.value = value;
}

/**
* The raw encoded value in the Java type representation.
*
* @return the raw value encoded.
*/
public short value()
{
return value;
}

/**
* Lookup the enum value representing the value.
*
* @param value encoded to be looked up.
* @return the enum value representing the value.
*/
public static BooleanFlag get(final short value)
{
switch (value)
{
case 0: return False;
case 1: return True;
case 255: return NULL_VAL;
}

throw new IllegalArgumentException("Unknown value: " + value);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/* Generated SBE (Simple Binary Encoding) message codec. */
package iLinkBinary;

@SuppressWarnings("all")
public enum BooleanNULL
{

/**
* False, No
*/
False((short)0),


/**
* True, Yes
*/
True((short)1),

/**
* To be used to represent not present or null.
*/
NULL_VAL((short)255);

private final short value;

BooleanNULL(final short value)
{
this.value = value;
}

/**
* The raw encoded value in the Java type representation.
*
* @return the raw value encoded.
*/
public short value()
{
return value;
}

/**
* Lookup the enum value representing the value.
*
* @param value encoded to be looked up.
* @return the enum value representing the value.
*/
public static BooleanNULL get(final short value)
{
switch (value)
{
case 0: return False;
case 1: return True;
case 255: return NULL_VAL;
}

throw new IllegalArgumentException("Unknown value: " + value);
}
}
Loading

0 comments on commit 1cbb322

Please sign in to comment.