com.sun.enterprise.ee.cms.core
Interface MessageSignal

All Superinterfaces:
Signal
All Known Implementing Classes:
MessageSignalImpl

public interface MessageSignal
extends Signal

A Signal type that enables consumers to acquire the MessageSignal, get the message( i.e payload), perform appropriate operations and then release the signal to the signal pool.

Version:
$Revision: 1.3 $
Author:
Shreedhar Ganapathy Date: Jan 12, 2004

Method Summary
 byte[] getMessage()
          Returns the message(payload) as a byte array.
 String getTargetComponent()
          Returns the target component in this member to which this message is addressed.
 
Methods inherited from interface com.sun.enterprise.ee.cms.core.Signal
acquire, getGroupName, getMemberDetails, getMemberToken, getStartTime, release
 

Method Detail

getMessage

byte[] getMessage()
Returns the message(payload) as a byte array.

Returns:
byte[]

getTargetComponent

String getTargetComponent()
Returns the target component in this member to which this message is addressed.

Returns:
String targetComponent


Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.