public class BasicSubscriber extends Object
The application subscribes to a default channel and stream ID. These defaults can
be overwritten by changing their value in SampleConfiguration or by
setting their corresponding Java system properties at the command line, e.g.:
-Daeron.sample.channel=aeron:udp?endpoint=localhost:5555 -Daeron.sample.streamId=20
This application only handles non-fragmented data. A DataHandler method is called
for every received message or message fragment.
For an example that implements reassembly of large, fragmented messages, see
MultipleSubscribersWithFragmentAssembly.
| Constructor and Description |
|---|
BasicSubscriber() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main method for launching the process.
|
public static void main(String[] args)
args - passed to the process.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.