net.anotheria.anoprise.eventservice.EventTransportShell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
Collection of utils for different enterprise class projects. Among other stuff contains
Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.
package net.anotheria.anoprise.eventservice;
import java.io.Serializable;
/**
* TODO Please remind lrosenberg to comment this class.
* @author lrosenberg
* Created on 22.09.2004
*/
public class EventTransportShell implements Serializable{
private static final long serialVersionUID = 42L;
private String channelName;
private byte[] data;
/**
* @return
*/
public String getChannelName() {
return channelName;
}
/**
* @return
*/
public byte[] getData() {
return data;
}
/**
* @param string
*/
public void setChannelName(String string) {
channelName = string;
}
/**
* @param bs
*/
public void setData(byte[] bs) {
data = bs;
}
@Override public String toString(){
return (data == null ? "no" : ""+data.length) + " bytes for "+channelName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy