Interface Channel<T>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA destination for messages. -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(Channel.Binding<T> binding) voidclose()voidbooleantryPublish(T message)
-
Method Details
-
bind
-
tryPublish
-
publish
- Throws:
InterruptedException
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-