Examples of CDRInputStream


Examples of com.sun.corba.ee.impl.encoding.CDRInputStream

      throw new RuntimeException(msg);
  }

  org.omg.IOP.TaggedComponent comp = tcomp.getIOPComponent(orb);
  byte[] b = comp.component_data;
  CDRInputStream in = (CDRInputStream) new EncapsInputStream(orb, b, b.length);
  in.consumeEndian();
  CompoundSecMechList l = CompoundSecMechListHelper.read(in);
  CompoundSecMech[] list = l.mechanism_list;

  return list;
    }
View Full Code Here

Examples of com.sun.corba.ee.impl.encoding.CDRInputStream

        // a TAG_NULL_TAG implies that SSL is not required
        if (comp.tag == TAG_NULL_TAG.value){
            ssl = null;
        } else {
            byte[] b = comp.component_data;
            CDRInputStream in = (CDRInputStreamnew EncapsInputStream(orb, b, b.length);
            in.consumeEndian();
            ssl = TLS_SEC_TRANSHelper.read(in);
        }

  return ssl;
    }
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

                throw wrapper.badCompletionStatusInLocateReply(
                    CompletionStatus.COMPLETED_MAYBE, new Integer(status) );
            }
        } else if ( (this.reply_status == OBJECT_FORWARD) ||
                (this.reply_status == OBJECT_FORWARD_PERM) ){
            CDRInputStream cdr = (CDRInputStream) istream;
            this.ior = IORFactories.makeIOR( cdr ) ;
        else if (this.reply_status == LOC_NEEDS_ADDRESSING_MODE) {
            // read GIOP::AddressingDisposition from body and resend the
            // original request using the requested addressing mode. The
            // resending is transparent to the caller.
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

        } else if (this.reply_status == USER_EXCEPTION) {
            // do nothing. The client stub will read the exception from body.
        } else if ( (this.reply_status == LOCATION_FORWARD) ||
                (this.reply_status == LOCATION_FORWARD_PERM) ){
            CDRInputStream cdr = (CDRInputStream) istream;
            this.ior = IORFactories.makeIOR( cdr ) ;
        else if (this.reply_status == NEEDS_ADDRESSING_MODE) {
            // read GIOP::AddressingDisposition from body and resend the
            // original request using the requested addressing mode. The
            // resending is transparent to the client program.
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

                    CompletionStatus.COMPLETED_MAYBE, new Integer(status) );
            }
        } else if (this.reply_status == USER_EXCEPTION) {
            // do nothing. The client stub will read the exception from body.
        } else if (this.reply_status == LOCATION_FORWARD) {
            CDRInputStream cdr = (CDRInputStream) istream;
            this.ior = IORFactories.makeIOR(cdr) ;
        }
    }
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

        this.reply_status = istream.read_long();
        isValidReplyStatus(this.reply_status); // raises exception on error

        // The code below reads the reply body if status is OBJECT_FORWARD
        if (this.reply_status == OBJECT_FORWARD) {
            CDRInputStream cdr = (CDRInputStream) istream;
            this.ior = IORFactories.makeIOR( cdr ) ;
        }
    }
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

        this.locate_status = istream.read_long();
        isValidReplyStatus(this.locate_status); // raises exception on error

        // The code below reads the reply body if status is OBJECT_FORWARD
        if (this.locate_status == OBJECT_FORWARD) {
            CDRInputStream cdr = (CDRInputStream) istream;
            this.ior = IORFactories.makeIOR( cdr ) ;
        }
    }
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

            }

        } else if (this.reply_status == USER_EXCEPTION) {
            // do nothing. The client stub will read the exception from body.
        } else if (this.reply_status == LOCATION_FORWARD) {
            CDRInputStream cdr = (CDRInputStream) istream;
            this.ior = IORFactories.makeIOR( cdr ) ;
        }
    }
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

                    // have the same hashCode.
    }

    private byte[] getId( InputStream is )
    {
        CDRInputStream cis = (CDRInputStream)is ;
        int len = cis.getBufferLength() ;
        byte[] result = new byte[ len ] ;
        cis.read_octet_array( result, 0, len ) ;
        return result ;
    }
View Full Code Here

Examples of com.sun.corba.se.impl.encoding.CDRInputStream

                    // have the same hashCode.
    }

    private byte[] getId( InputStream is )
    {
        CDRInputStream cis = (CDRInputStream)is ;
        int len = cis.getBufferLength() ;
        byte[] result = new byte[ len ] ;
        cis.read_octet_array( result, 0, len ) ;
        return result ;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.