@FunctionalInterface
public interface SetupMessageHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onSetupMessage(ReceiveChannelEndpoint channelEndpoint,
io.aeron.protocol.SetupFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
java.net.InetSocketAddress srcAddress)
Handle a Setup Frame
|
void onSetupMessage(ReceiveChannelEndpoint channelEndpoint, io.aeron.protocol.SetupFlyweight header, org.agrona.concurrent.UnsafeBuffer buffer, java.net.InetSocketAddress srcAddress)
channelEndpoint - from which the message is delivered.header - of the Setup Frame in the message (may be re-wrapped if needed)buffer - holding the Setup Info (always starts at 0 offset)srcAddress - of the FrameCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.