All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anoprise.eventservice.EventTransportShell Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.0
Show newest version
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