public class SendBuilder extends DHTBuilder<SendBuilder> implements SendDirectBuilderI
domainKey, futureChannelCreator, locationKey, peer, requestP2PConfiguration, routingConfiguration, versionKey| Constructor and Description |
|---|
SendBuilder(PeerDHT peer,
Number160 locationKey) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
buffer() |
SendBuilder |
buffer(Buffer buffer) |
SendBuilder |
cancelOnFinish() |
SendBuilder |
cancelOnFinish(boolean cancelOnFinish) |
boolean |
isCancelOnFinish() |
boolean |
isRaw() |
boolean |
isStreaming() |
Object |
object() |
SendBuilder |
object(Object object) |
FutureSend |
start() |
SendBuilder |
streaming()
Set streaming to true.
|
SendBuilder |
streaming(boolean streaming)
Set streaming.
|
addPeerMapFilter, addPostRoutingFilter, createBuilder, domainKey, domainKey, futureChannelCreator, futureChannelCreator, isProtectDomain, isSign, keyPair, keyPair, locationKey, peerMapFilters, postRoutingFilters, preBuild, protectDomain, protectDomain, requestP2PConfiguration, requestP2PConfiguration, routingConfiguration, routingConfiguration, self, sign, sign, versionKey, versionKeyconnectionTimeoutTCPMillis, connectionTimeoutTCPMillis, forceTCP, forceTCP, forceUDP, forceUDP, idleTCPSeconds, idleTCPSeconds, idleUDPSeconds, idleUDPSeconds, isForceTCP, isForceUDP, slowResponseTimeoutSeconds, slowResponseTimeoutSecondsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSign, keyPairconnectionTimeoutTCPMillis, idleTCPSeconds, idleUDPSeconds, isForceTCP, isForceUDP, slowResponseTimeoutSecondspublic Buffer buffer()
buffer in interface SendDirectBuilderIpublic SendBuilder buffer(Buffer buffer)
public Object object()
object in interface SendDirectBuilderIpublic SendBuilder object(Object object)
public boolean isCancelOnFinish()
public SendBuilder cancelOnFinish(boolean cancelOnFinish)
public SendBuilder cancelOnFinish()
public boolean isRaw()
isRaw in interface SendDirectBuilderIpublic SendBuilder streaming(boolean streaming)
DHTBuilderBuilder.start() has been called.streaming in class DHTBuilder<SendBuilder>streaming - True if streaming should be usedpublic boolean isStreaming()
isStreaming in interface SendDirectBuilderIisStreaming in class DHTBuilder<SendBuilder>public SendBuilder streaming()
DHTBuilderDHTBuilder.streaming(boolean)streaming in class DHTBuilder<SendBuilder>public FutureSend start()
Copyright © 2015. All rights reserved.