net.sf.sasl.common.communication
Class AsynchronousChannelSender

java.lang.Object
  extended by net.sf.sasl.common.communication.AsynchronousChannelSender
All Implemented Interfaces:
Callable<Void>

public class AsynchronousChannelSender
extends Object
implements Callable<Void>

Since:
0.0.1 (sasl-common-aspect-library)
Author:
Philipp Förmer

Constructor Summary
AsynchronousChannelSender(ICommunicationChannel channel, String subject, String message)
           
 
Method Summary
 Void call()
          Sends the setted subject and message over the setted channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousChannelSender

public AsynchronousChannelSender(ICommunicationChannel channel,
                                 String subject,
                                 String message)
                          throws IllegalArgumentException
Parameters:
channel -
subject -
message -
Throws:
IllegalArgumentException
Since:
0.0.1 (sasl-common-aspect-library)
Method Detail

call

public Void call()
          throws Exception
Sends the setted subject and message over the setted channel.

Specified by:
call in interface Callable<Void>
Throws:
Exception
Since:
0.0.1 (sasl-common-aspect-library)
See Also:
Callable.call()


Copyright © 2010. All Rights Reserved.