public class ProtonTransportOptions extends Object
| Constructor and Description |
|---|
ProtonTransportOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getHeartbeat()
Returns the heart beat as maximum delay between sending frames for the remote peers.
|
int |
getMaxFrameSize()
Gets the maximum frame size to announce in the AMQP OPEN frame.
|
int |
hashCode() |
ProtonTransportOptions |
setHeartbeat(int heartbeat)
Set the heart beat as maximum delay between sending frames for the remote peers.
|
ProtonTransportOptions |
setMaxFrameSize(int maxFrameSize)
Sets the maximum frame size to announce in the AMQP OPEN frame.
|
public ProtonTransportOptions setHeartbeat(int heartbeat)
heartbeat - The maximum delay in milliseconds.public int getHeartbeat()
public ProtonTransportOptions setMaxFrameSize(int maxFrameSize)
If this property is not set explicitly, a reasonable default value is used.
Setting this property to a negative value will result in no maximum frame size being announced at all.
maxFrameSize - The frame size in bytes.public int getMaxFrameSize()
If this property is not set explicitly, a reasonable default value is used.
Copyright © 2017. All rights reserved.