net.grinder.communication
Interface AddressAwareMessage

All Superinterfaces:
Message, Serializable
All Known Implementing Classes:
AbstractBarrierGroupMessage, AddBarrierMessage, AddWaiterMessage, AgentProcessReportMessage, CancelWaiterMessage, RemoveBarriersMessage, WorkerProcessReportMessage

public interface AddressAwareMessage
extends Message

Message that wants to know its origin address.

This is currently set only by ServerReceiver.

Author:
Philip Aston

Method Summary
 void setAddress(Address address)
          Set the origin address.
 

Method Detail

setAddress

void setAddress(Address address)
                throws CommunicationException
Set the origin address.

Parameters:
address - The address.
Throws:
CommunicationException - If the address is not valid for this message type.


Copyright © 2000-2013. All Rights Reserved.