Codota Logo
ServiceOutputConnectionProxy.setInputConnection
Code IndexAdd Codota to your IDE (free)

How to use
setInputConnection
method
in
jadex.bridge.service.types.remote.ServiceOutputConnectionProxy

Best Java code snippets using jadex.bridge.service.types.remote.ServiceOutputConnectionProxy.setInputConnection (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.activecomponents.jadex/jadex-platform

  public Object preProcess(IContext context, Object object)
  {
    try
    {
      AbstractRemoteCommand com = (AbstractRemoteCommand)context.getRootObject();
      ServiceOutputConnectionProxy con = (ServiceOutputConnectionProxy)object;
      InputConnection icon = ((MessageService)msgservice).internalCreateInputConnection(
        RemoteServiceManagementService.this.component.getComponentIdentifier(), com.getReceiver(), com.getNonFunctionalProperties());
      con.setConnectionId(icon.getConnectionId());
      con.setInputConnection(icon);
      return con;
    }
    catch(RuntimeException e)
    {
      e.printStackTrace();
      throw e;
    }
  }
});
origin: net.sourceforge.jadex/jadex-platform-base

  public Object preProcess(IContext context, Object object)
  {
    try
    {
      AbstractRemoteCommand com = (AbstractRemoteCommand)context.getRootObject();
      ServiceOutputConnectionProxy con = (ServiceOutputConnectionProxy)object;
      InputConnection icon = ((MessageService)msgservice).internalCreateInputConnection(
        RemoteServiceManagementService.this.component.getComponentIdentifier(), com.getReceiver(), com.getNonFunctionalProperties());
      con.setConnectionId(icon.getConnectionId());
      con.setInputConnection(icon);
      return con;
    }
    catch(RuntimeException e)
    {
      e.printStackTrace();
      throw e;
    }
  }
});
origin: net.sourceforge.jadex/jadex-platform-base

public Object process(Object object, Class<?> clazz, List<ITraverseProcessor> processors,
  Traverser traverser, Map<Object, Object> traversed, boolean clone, ClassLoader targetcl, Object context)
{
  try
  {
    AbstractRemoteCommand com = (AbstractRemoteCommand)((EncodingContext)context).getRootObject();
    ServiceOutputConnectionProxy con = (ServiceOutputConnectionProxy)object;
    InputConnection icon = ((MessageService)msgservice).internalCreateInputConnection(
      RemoteServiceManagementService.this.component.getComponentIdentifier(), com.getReceiver(), com.getNonFunctionalProperties());
    con.setConnectionId(icon.getConnectionId());
    con.setInputConnection(icon);
    return con;
  }
  catch(RuntimeException e)
  {
    e.printStackTrace();
    throw e;
  }
}
 
origin: org.activecomponents.jadex/jadex-platform

public Object process(Object object, Type type, List<ITraverseProcessor> processors,
  Traverser traverser, Map<Object, Object> traversed, boolean clone, ClassLoader targetcl, Object context)
{
  try
  {
    AbstractRemoteCommand com = (AbstractRemoteCommand)((IEncodingContext)context).getRootObject();
    ServiceOutputConnectionProxy con = (ServiceOutputConnectionProxy)object;
    InputConnection icon = ((MessageService)msgservice).internalCreateInputConnection(
      RemoteServiceManagementService.this.component.getComponentIdentifier(), com.getReceiver(), com.getNonFunctionalProperties());
    con.setConnectionId(icon.getConnectionId());
    con.setInputConnection(icon);
    return con;
  }
  catch(RuntimeException e)
  {
    e.printStackTrace();
    throw e;
  }
}
 
origin: net.sourceforge.jadex/jadex-platform

  public Object preProcess(IContext context, Object object)
  {
    try
    {
      AbstractRemoteCommand com = (AbstractRemoteCommand)context.getRootObject();
      ServiceOutputConnectionProxy con = (ServiceOutputConnectionProxy)object;
      InputConnection icon = ((MessageService)msgservice).internalCreateInputConnection(
        RemoteServiceManagementService.this.component.getComponentIdentifier(), com.getReceiver(), com.getNonFunctionalProperties());
      con.setConnectionId(icon.getConnectionId());
      con.setInputConnection(icon);
      return con;
    }
    catch(RuntimeException e)
    {
      e.printStackTrace();
      throw e;
    }
  }
});
origin: net.sourceforge.jadex/jadex-platform

public Object process(Object object, Class<?> clazz, List<ITraverseProcessor> processors,
  Traverser traverser, Map<Object, Object> traversed, boolean clone, ClassLoader targetcl, Object context)
{
  try
  {
    AbstractRemoteCommand com = (AbstractRemoteCommand)((EncodingContext)context).getRootObject();
    ServiceOutputConnectionProxy con = (ServiceOutputConnectionProxy)object;
    InputConnection icon = ((MessageService)msgservice).internalCreateInputConnection(
      RemoteServiceManagementService.this.component.getComponentIdentifier(), com.getReceiver(), com.getNonFunctionalProperties());
    con.setConnectionId(icon.getConnectionId());
    con.setInputConnection(icon);
    return con;
  }
  catch(RuntimeException e)
  {
    e.printStackTrace();
    throw e;
  }
}
 
origin: net.sourceforge.jadex/jadex-platform

  public Object process(Object object, Class<?> clazz,
    List<ITraverseProcessor> processors, Traverser traverser,
    Map<Object, Object> traversed, boolean clone, ClassLoader targetcl, Object context)
  {
    ServiceOutputConnectionProxy socp = (ServiceOutputConnectionProxy)object;
    
    LocalOutputConnectionHandler och = new LocalOutputConnectionHandler(socp.getNonFunctionalProperties());
    LocalInputConnectionHandler ich = new LocalInputConnectionHandler(socp.getNonFunctionalProperties(), och);
    och.setConnectionHandler(ich);
    InputConnection icon = new InputConnection(null, null, socp.getConnectionId(), false, ich);
    socp.setInputConnection(icon);
    OutputConnection ocon = new OutputConnection(null, null, socp.getConnectionId(), true, och);
    
    return ocon;
  }
});
origin: net.sourceforge.jadex/jadex-platform-base

  public Object process(Object object, Class<?> clazz,
    List<ITraverseProcessor> processors, Traverser traverser,
    Map<Object, Object> traversed, boolean clone, ClassLoader targetcl, Object context)
  {
    ServiceOutputConnectionProxy socp = (ServiceOutputConnectionProxy)object;
    
    LocalOutputConnectionHandler och = new LocalOutputConnectionHandler(socp.getNonFunctionalProperties());
    LocalInputConnectionHandler ich = new LocalInputConnectionHandler(socp.getNonFunctionalProperties(), och);
    och.setConnectionHandler(ich);
    InputConnection icon = new InputConnection(null, null, socp.getConnectionId(), false, ich);
    socp.setInputConnection(icon);
    OutputConnection ocon = new OutputConnection(null, null, socp.getConnectionId(), true, och);
    
    return ocon;
  }
});
origin: org.activecomponents.jadex/jadex-platform

  public Object process(Object object, Type type,
    List<ITraverseProcessor> processors, Traverser traverser,
    Map<Object, Object> traversed, boolean clone, ClassLoader targetcl, Object context)
  {
    ServiceOutputConnectionProxy socp = (ServiceOutputConnectionProxy)object;
    
    LocalOutputConnectionHandler och = new LocalOutputConnectionHandler(socp.getNonFunctionalProperties());
    LocalInputConnectionHandler ich = new LocalInputConnectionHandler(socp.getNonFunctionalProperties(), och);
    och.setConnectionHandler(ich);
    InputConnection icon = new InputConnection(null, null, socp.getConnectionId(), false, ich);
    socp.setInputConnection(icon);
    OutputConnection ocon = new OutputConnection(null, null, socp.getConnectionId(), true, och);
    
    return ocon;
  }
});
jadex.bridge.service.types.remoteServiceOutputConnectionProxysetInputConnection

Popular methods of ServiceOutputConnectionProxy

  • getConnectionId
    Get the connectionid.
  • getInitiator
    Get the initiator id.
  • getNonFunctionalProperties
    Get the non-functional properties of the connection.
  • getParticipant
    Get the participant id.
  • setConnectionId
    Set the connectionid.
  • <init>

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now