protected void writeBody(NetworkDataRepresentation ndr) { ndr.writeUnsignedShort(getMaxTransmitFragment()); ndr.writeUnsignedShort(getMaxReceiveFragment()); ndr.writeUnsignedLong(getAssociationGroupId()); Port secondaryAddress = getSecondaryAddress(); if (secondaryAddress == null) secondaryAddress = new Port(); secondaryAddress.write(ndr); ndr.getBuffer().align(4); PresentationResult[] resultList = getResultList(); int count = resultList.length; ndr.writeUnsignedSmall((short) count); for (int i = 0; i < count; i++) { resultList[i].write(ndr); } }
protected void writeBody(NetworkDataRepresentation ndr) { ndr.writeUnsignedShort(getMaxTransmitFragment()); ndr.writeUnsignedShort(getMaxReceiveFragment()); ndr.writeUnsignedLong(getAssociationGroupId()); Port secondaryAddress = getSecondaryAddress(); if (secondaryAddress == null) secondaryAddress = new Port(); secondaryAddress.write(ndr); ndr.getBuffer().align(4); PresentationResult[] resultList = getResultList(); int count = resultList.length; ndr.writeUnsignedSmall((short) count); for (int i = 0; i < count; i++) { resultList[i].write(ndr); } }
protected void writeBody ( NetworkDataRepresentation ndr ) { ndr.writeUnsignedShort ( getMaxTransmitFragment () ); ndr.writeUnsignedShort ( getMaxReceiveFragment () ); ndr.writeUnsignedLong ( getAssociationGroupId () ); Port secondaryAddress = getSecondaryAddress (); if ( secondaryAddress == null ) secondaryAddress = new Port (); secondaryAddress.write ( ndr ); ndr.getBuffer ().align ( 4 ); PresentationResult[] resultList = getResultList (); int count = resultList.length; ndr.writeUnsignedSmall ( (short)count ); for ( int i = 0; i < count; i++ ) { resultList[i].write ( ndr ); } }