matchesMarker method

bool matchesMarker(
  1. ReadWriteMarker marker
)

Implementation

bool matchesMarker(ReadWriteMarker marker) {
  return this==RelayDirection.inbox && marker.isRead || this ==RelayDirection.outbox && marker.isWrite;
}