1 24 25 package org.objectweb.tribe.messages; 26 27 import java.io.Serializable ; 28 29 35 public class ByteMessage implements Serializable  36 { 37 38 private byte[] content; 39 40 45 public ByteMessage(byte[] msg) 46 { 47 this.content = msg; 48 } 49 50 55 public byte[] getContent() 56 { 57 return content; 58 } 59 60 65 protected void setContent(byte[] msg) 66 { 67 this.content = msg; 68 } 69 } | Popular Tags |