Package org.omg.CORBA.portable

Examples of org.omg.CORBA.portable.InputStream


  /**
   * Pass and return the tree structure
   */
  public void passTree(nodeHolder tree)
  {
    InputStream in = null;
    try
      {
        // Get the stream where the parameters must be written.
        OutputStream out = _request("passTree", true);

View Full Code Here


  /**
   * One way call of the remote method.
   */
  public void sayHello()
  {
    InputStream in = null;
    try
      {
        // As we do not expect any response, the second
        // parameter is 'false'.
        OutputStream out = _request("sayHello", false);
View Full Code Here

  /**
   * Get the field value.
   */
  public int theField()
  {
    InputStream in = null;
    try
      {
        // The special name of operation instructs just to get
        // the field value rather than calling the method.
        OutputStream out = _request("_get_theField", true);
        in = _invoke(out);

        int result = in.read_long();
        return result;
      }
    catch (ApplicationException ex)
      {
        in = ex.getInputStream();
View Full Code Here

  /**
   * Set the field value.
   */
  public void theField(int newTheField)
  {
    InputStream in = null;
    try
      {
        // The special name of operation instructs just to set
        // the field value rather than calling the method.
        OutputStream out = _request("_set_theField", true);
View Full Code Here

   * @throws ourUserException
   */
  public void throwException(int parameter)
                      throws ourUserException
  {
    InputStream in = null;
    try
      {
        // Get stream.
        OutputStream out = _request("throwException", true);

View Full Code Here

   * will apply. This POA must be the child of the POA
   * to that this remotePoaControl servant is connected.
   */
  public void setControlTarget(String child_poa_name)
  {
    InputStream in = null;
    try
      {
        OutputStream out = _request("setControlTarget", true);
        out.write_string(child_poa_name);
        in = _invoke(out);
View Full Code Here

   * Set the mode of the POA being controlled (active,
   * holding, discarding, deactivated).
   */
  public void setPoaMode(int mode)
  {
    InputStream in = null;
    try
      {
        OutputStream out = _request("setPoaMode", true);
        out.write_long(mode);
        in = _invoke(out);
View Full Code Here

  /**
   * Get the mode of POA being controlled.
   */
  public int getPoaMode()
  {
    InputStream in = null;
    try
      {
        OutputStream out = _request("getPoaMode", true);
        in = _invoke(out);
        return in.read_long();
      }
    catch (ApplicationException ex)
      {
        in = ex.getInputStream();
        throw new MARSHAL(ex.getId());
View Full Code Here

  extends ObjectImpl
  implements Test
{
  public void aMethod()
  {
    InputStream in = null;
    try
      {
        OutputStream out = _request("aMethod", true);
        in = _invoke(out);
        return;
View Full Code Here

    _set_delegate(delegate);
  }

  public void hello(cmInfoHolder w1, InfoHolder w2)
  {
    InputStream _in = null;
    try
      {
        OutputStream _out = _request("hello", true);
        cmInfoHelper.write(_out, w1.value);
        InfoHelper.write(_out, w2.value);
View Full Code Here

TOP

Related Classes of org.omg.CORBA.portable.InputStream

Copyright © 2018 www.massapicom. 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.