org.japura.controller
Class Message

java.lang.Object
  extended by org.japura.controller.Message

public class Message
extends java.lang.Object

Copyright (C) 2011-2012 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
Message()
           
Message(int type)
           
 
Method Summary
 void addSubscriberFilter(SubscriberFilter filter)
           
 void consume()
           
 void consumeController()
           
 boolean containsSubscriberFilter(SubscriberFilter filter)
           
 ControllerModel getPublisher()
           
 java.util.List<SubscriberFilter> getSubscriberFilters()
           
 int getType()
           
 boolean isConsumed()
           
 boolean isControllerConsumed()
           
 boolean isIgnorePublisher()
           
 boolean isPublisherAssignableFrom(java.lang.Class<?> cls)
           
 void removeSubscriberFilter(SubscriberFilter filter)
           
 void removeSubscriberFilters()
           
 void setIgnorePublisher(boolean ignorePublisher)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()

Message

public Message(int type)
Method Detail

getSubscriberFilters

public java.util.List<SubscriberFilter> getSubscriberFilters()

removeSubscriberFilters

public void removeSubscriberFilters()

removeSubscriberFilter

public void removeSubscriberFilter(SubscriberFilter filter)

containsSubscriberFilter

public boolean containsSubscriberFilter(SubscriberFilter filter)

addSubscriberFilter

public void addSubscriberFilter(SubscriberFilter filter)

getType

public int getType()

setType

public void setType(int type)

getPublisher

public ControllerModel getPublisher()

isConsumed

public boolean isConsumed()

consume

public void consume()

isControllerConsumed

public boolean isControllerConsumed()

consumeController

public void consumeController()

setIgnorePublisher

public void setIgnorePublisher(boolean ignorePublisher)

isIgnorePublisher

public boolean isIgnorePublisher()

isPublisherAssignableFrom

public boolean isPublisherAssignableFrom(java.lang.Class<?> cls)