public void decode(NdrBuffer buf) throws NdrException { decode_header(buf); if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) throw new NdrException("Unexpected ptype: " + ptype); if (ptype == 2 || ptype == 3) { /* Response or Fault */ alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if (ptype == 3 || ptype == 13) { /* Fault */ result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); } }
public void decode(NdrBuffer buf) throws NdrException { decode_header(buf); if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) throw new NdrException("Unexpected ptype: " + ptype); if (ptype == 2 || ptype == 3) { /* Response or Fault */ alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if (ptype == 3 || ptype == 13) { /* Fault */ result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); } }
public void decode(NdrBuffer buf) throws NdrException { decode_header(buf); if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) throw new NdrException("Unexpected ptype: " + ptype); if (ptype == 2 || ptype == 3) { /* Response or Fault */ alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if (ptype == 3 || ptype == 13) { /* Fault */ result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); } }
@Override public void decode ( NdrBuffer buf ) throws NdrException { decode_header(buf); if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 ) throw new NdrException("Unexpected ptype: " + this.ptype); if ( this.ptype == 2 || this.ptype == 3 ) { /* Response or Fault */ this.alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if ( this.ptype == 3 || this.ptype == 13 ) { /* Fault */ this.result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); } }
public void decode(NdrBuffer buf) throws NdrException { decode_header(buf); if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) throw new NdrException("Unexpected ptype: " + ptype); if (ptype == 2 || ptype == 3) { /* Response or Fault */ alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if (ptype == 3 || ptype == 13) { /* Fault */ result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); } }
@Override public void decode ( NdrBuffer buf ) throws NdrException { decode_header(buf); if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 ) throw new NdrException("Unexpected ptype: " + this.ptype); if ( this.ptype == 2 || this.ptype == 3 ) { /* Response or Fault */ this.alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if ( this.ptype == 3 || this.ptype == 13 ) { /* Fault */ this.result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); } }