org.pm4j.core.pm.remote
Class PmRemoteChannelInVm

java.lang.Object
  extended by org.pm4j.core.pm.remote.PmRemoteChannelInVm
All Implemented Interfaces:
PmRemoteChannel

public class PmRemoteChannelInVm
extends java.lang.Object
implements PmRemoteChannel


Constructor Summary
PmRemoteChannelInVm(PmObject receiverCtxtPm)
           
PmRemoteChannelInVm(PmObject receiverCtxtPm, PmContentCfg clientAndServerContentCfg)
           
PmRemoteChannelInVm(PmObject receiverCtxtPm, PmContentCfg clientSendContentCfg, PmContentCfg serverSendContentCfg)
           
 
Method Summary
 void sendValuesAndCallServerCommand(java.lang.String pmPath, PmObject pm, java.lang.String cmdToCall)
          Sends the following data to the server: The (configurable) content of the given PM The name of the server command to call. Receives the following data from the server: The (configurable) content of the server PM. The the PM messages that are generated during command execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmRemoteChannelInVm

public PmRemoteChannelInVm(PmObject receiverCtxtPm,
                           PmContentCfg clientSendContentCfg,
                           PmContentCfg serverSendContentCfg)

PmRemoteChannelInVm

public PmRemoteChannelInVm(PmObject receiverCtxtPm,
                           PmContentCfg clientAndServerContentCfg)

PmRemoteChannelInVm

public PmRemoteChannelInVm(PmObject receiverCtxtPm)
Method Detail

sendValuesAndCallServerCommand

public void sendValuesAndCallServerCommand(java.lang.String pmPath,
                                           PmObject pm,
                                           java.lang.String cmdToCall)
Description copied from interface: PmRemoteChannel
Sends the following data to the server:
  1. The (configurable) content of the given PM
  2. The name of the server command to call.
Receives the following data from the server:
  1. The (configurable) content of the server PM.
  2. The the PM messages that are generated during command execution.

Specified by:
sendValuesAndCallServerCommand in interface PmRemoteChannel
Parameters:
pmPath - The path of the addressed server PM.
pm - The client PM to get the values from. It will be updated with the result values of the server PM.
cmdToCall - Name of the command to call on the server PM.