public interface Envelope<C> extends com.google.common.base.Supplier<Envelope<C>>
Envelope interface.
Modifier and Type | Method and Description |
---|---|
C |
content()
content.
|
void |
content(C content)
content.
|
<A extends SocketAddress> |
recipient()
recipient.
|
<A extends SocketAddress> |
recipient(A recipient)
recipient.
|
<A extends SocketAddress> |
sender()
sender.
|
<A extends SocketAddress> |
sender(A sender)
sender.
|
C content()
content.
void content(C content)
content.
content
- a C object<A extends SocketAddress> A recipient()
recipient.
A
- a A class<A extends SocketAddress> void recipient(A recipient)
recipient.
A
- a A classrecipient
- a A object<A extends SocketAddress> A sender()
sender.
A
- a A class<A extends SocketAddress> void sender(A sender)
sender.
A
- a A classsender
- a A objectCopyright © 2016–2024. All rights reserved.