Tabnine Logo
TestRequestEncoder.header
Code IndexAdd Tabnine to your IDE (free)

How to use
header
method
in
uk.co.real_logic.artio.builder.TestRequestEncoder

Best Java code snippets using uk.co.real_logic.artio.builder.TestRequestEncoder.header (Showing top 4 results out of 315)

origin: real-logic/artio

public long testRequest(
  final int msgSeqNo, final CharSequence testReqID, final int sequenceIndex, final int lastMsgSeqNumProcessed)
{
  final HeaderEncoder header = testRequest.header();
  setupHeader(header, msgSeqNo, lastMsgSeqNumProcessed);
  testRequest.testReqID(testReqID);
  final long result = testRequest.encode(buffer, 0);
  return send(result, TestRequestDecoder.MESSAGE_TYPE, sequenceIndex, testRequest, msgSeqNo);
}
origin: real-logic/artio

void testRequest(final String testReqID)
{
  setupHeader(testRequestEncoder.header(), msgSeqNum++, false);
  testRequestEncoder.testReqID(testReqID);
  send(testRequestEncoder);
}
origin: real-logic/artio

protected void bufferContainsTestRequest(final int sequenceNumber)
{
  final TestRequestEncoder testRequestEncoder = new TestRequestEncoder();
  final HeaderEncoder header = testRequestEncoder.header();
  testRequestEncoder.testReqID("abc");
  header.possDupFlag(false);
  bufferContainsMessage(
    SESSION_ID, sequenceNumber, SEQUENCE_INDEX, testRequestEncoder, header, TestRequestDecoder.MESSAGE_TYPE);
}
origin: real-logic/artio

private final List<HeaderEncoder> headers = asList(
  logon.header(), resendRequest.header(), logout.header(), heartbeat.header(), reject.header(),
  testRequest.header(), sequenceReset.header());
uk.co.real_logic.artio.builderTestRequestEncoderheader

Popular methods of TestRequestEncoder

  • <init>
  • testReqID
  • encode
  • reset

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now