public class PublicationLink extends java.lang.Object implements DriverManagedResource
NetworkPublication or IpcPublication.| Constructor and Description |
|---|
PublicationLink(long registrationId,
AeronClient client,
IpcPublication publication) |
PublicationLink(long registrationId,
AeronClient client,
NetworkPublication publication) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close resources that are not external.
|
boolean |
hasReachedEndOfLife()
Has resource reached end of its life and should be reclaimed?
|
void |
onTimeEvent(long timeNs,
long timeMs,
DriverConductor conductor)
Inform resource of timeNs passing and pass it DriverConductor to inform of any state transitions.
|
long |
registrationId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfreepublic PublicationLink(long registrationId,
AeronClient client,
NetworkPublication publication)
public PublicationLink(long registrationId,
AeronClient client,
IpcPublication publication)
public void close()
DriverManagedResourceclose in interface DriverManagedResourcepublic long registrationId()
public void onTimeEvent(long timeNs,
long timeMs,
DriverConductor conductor)
DriverManagedResourceonTimeEvent in interface DriverManagedResourcetimeNs - now in nanosecondstimeMs - now in milliseconds for epochconductor - to inform of any state transitionspublic boolean hasReachedEndOfLife()
DriverManagedResourcehasReachedEndOfLife in interface DriverManagedResourceCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.