
io.servicefabric.examples.Greetings Maven / Gradle / Ivy
The newest version!
package io.servicefabric.examples;
import io.servicefabric.transport.Message;
import io.protostuff.Tag;
import rx.functions.Func1;
public final class Greetings {
public static final Func1 MSG_FILTER = new Func1() {
@Override
public Boolean call(Message message) {
return message.data() != null && Greetings.class.equals(message.data().getClass());
}
};
@Tag(1)
String quote;
public Greetings() {}
public Greetings(String quote) {
this.quote = quote;
}
public String getQuote() {
return quote;
}
public void setQuote(String quote) {
this.quote = quote;
}
@Override
public String toString() {
return "Greetings [quote=" + quote + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy