public interface BambooAgentMessageSender
An interface for sending BambooAgentMessages from an agent to the server.
| Modifier and Type | Method and Description |
|---|---|
Object |
send(BambooAgentMessage message)
Sends a
BambooAgentMessage, and any others that have been submitted but not yet sent, to the server
immediately. |
void |
submit(BambooAgentMessage message)
Submits a
BambooAgentMessage to be sent to the server when convenient. |
@Nullable Object send(@NotNull BambooAgentMessage message)
Sends a BambooAgentMessage, and any others that have been submitted but not yet sent, to the server
immediately.
message - The BambooAgentMessage to send.void submit(@NotNull
BambooAgentMessage message)
Submits a BambooAgentMessage to be sent to the server when convenient.
message - The BambooAgentMessage to submit.Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.