Skip to content

Java Programming Guide

Todd L. Montgomery edited this page Oct 29, 2014 · 53 revisions

Java Programming Guide

Walk through BasicPublisher and BasicSubscriber for each item.

Embedded Media Driver

vs. external media driver thread needs, etc.

Aeron

Aeron instance creation and usage

Event Handling

Exception handler New/Inactive connection handler comes in from ClientConductor thread

DirectBuffer

DirectBuffer usage and differences between other buffer types.

  • DirectBuffer
  • MutableDirectBuffer
  • UnsafeBuffer

Subscription

Subscription instance creation and usage

DataHandler

DataHandler interface

Polling

Subscription.poll usage and considerations

Reassembler

Publication

Publication instance creation and usage Fragmentation handler for the application

Handling Offering Returning false

Publication.offer returning false

Monitoring

Walk through AeronStat

Use Case: Ping-Pong

Walk through Ping/Pong