public class SenderSocketBuilder<PARENT extends won.protocol.message.builder.BuilderScaffold<PARENT,?>>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected WonMessageBuilder |
builder |
protected java.util.Optional<PARENT> |
parent |
| Modifier and Type | Method and Description |
|---|---|
RecipientSocketBuilder<PARENT> |
noSender(java.net.URI recipientSocket)
Skips setting the senderSocket.
|
PARENT |
reactingTo(WonMessage connectMessage)
Assumes that the specified message is a message that we received in a
connection and we want to send a message back.
|
RecipientSocketBuilder<PARENT> |
sender(java.net.URI senderSocket)
Sets the senderSocket.
|
protected java.util.Optional<PARENT extends won.protocol.message.builder.BuilderScaffold<PARENT,?>> parent
protected WonMessageBuilder builder
public PARENT reactingTo(WonMessage connectMessage)
connectMessage - public RecipientSocketBuilder<PARENT> sender(java.net.URI senderSocket)
public RecipientSocketBuilder<PARENT> noSender(java.net.URI recipientSocket)
Copyright © 2019. All Rights Reserved.