com.atlassian.bamboo.v2.build.agent.remote.sender
Interface BambooAgentMessageSender

All Known Implementing Classes:
BatchedMessageSender, HttpMessageSender, JmsTemplateMessageSender

public interface BambooAgentMessageSender

An interface for sending BambooAgentMessages from an agent to the server.


Method Summary
 void 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.
 

Method Detail

send

void send(@NotNull
          BambooAgentMessage message)

Sends a BambooAgentMessage, and any others that have been submitted but not yet sent, to the server immediately.

Parameters:
message - The BambooAgentMessage to send.

submit

void submit(@NotNull
            BambooAgentMessage message)

Submits a BambooAgentMessage to be sent to the server when convenient.

Parameters:
message - The BambooAgentMessage to submit.


Copyright © 2010 Atlassian. All Rights Reserved.