net.lessy.util.messaging
Class ChannelUtils

java.lang.Object
  extended by net.lessy.util.messaging.ChannelUtils

public class ChannelUtils
extends Object

Author:
Hans Lesmeister

Method Summary
static void sendMessage(Channel channel, Message message)
          Convient method to send a message to a channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendMessage

public static void sendMessage(Channel channel,
                               Message message)
Convient method to send a message to a channel. The message is only sent if both channel and message are NOT null. If one of them is null, then the method silently returns, doing nothing.

Parameters:
channel - The Channel
message - The Message


Copyright © 2012. All Rights Reserved.