1 25 26 package org.objectweb.easybeans.component.smartclient.message; 27 28 import java.nio.ByteBuffer ; 29 30 import org.objectweb.easybeans.component.smartclient.api.ProtocolConstants; 31 32 36 public class ResourceAnswer extends AbsNameBytesMessage { 37 38 43 public ResourceAnswer(final String name, final byte[] bytes) { 44 super(name, bytes); 45 } 46 47 51 public ResourceAnswer(final ByteBuffer buffer) { 52 super(buffer); 53 } 54 55 59 @Override  60 public byte getOpCode() { 61 return ProtocolConstants.RESOURCE_ANSWER; 62 } 63 64 68 public String getResourceName() { 69 return getName(); 70 } 71 72 } 73 | Popular Tags |