RawMessage(byte[] messageBytes,int messageLength,TransportAddress remoteAddress,TransportAddress localAddress){
  this.messageBytes=new byte[messageLength];
  System.arraycopy(messageBytes,0,this.messageBytes,0,messageLength);
  this.messageLength=messageLength;
  this.localAddress=localAddress;
  this.remoteAddress=remoteAddress;
}

RawMessage ( byte [ ] messageBytes , int messageLength , TransportAddress remoteAddress , TransportAddress localAddress ) { this . messageBytes = new byte [ messageLength ] ; System . arraycopy ( messageBytes , 0 , this . messageBytes , 0 , messageLength ) ; this . messageLength = messageLength ; this . localAddress = localAddress ; this . remoteAddress = remoteAddress ; }
constructs a raw message with the specified field values . all parameters are cloned before being assigned to class members .
