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

net.hycube.simulator.transport.SimMessage Maven / Gradle / Ivy

Go to download

HyCube Simulator is a container running multiple HyCube node instances, providing an interface for performing operations on individual nodes.

There is a newer version: 1.0.5
Show newest version
package net.hycube.simulator.transport;


public class SimMessage {

	protected String senderAddress;
	protected String recipientAddress;
	protected byte[] messageBytes;
	
	public SimMessage(byte[] messageBytes, String senderAddress, String recipientAddress) {
		this.senderAddress = senderAddress;
		this.recipientAddress = recipientAddress;
		this.messageBytes = messageBytes;
		
	}
	
	
	public byte[] getMessageBytes() {
		return messageBytes;
	}

	public String getSenderAddress() {
		return senderAddress;
	}
	
	public String getRecipientAddress() {
		return recipientAddress;
	}
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy