com.prolifics.jni
Class ComFunctions

java.lang.Object
  extended by com.prolifics.jni.ComFunctions
All Implemented Interfaces:
ComFunctionsInterface

public class ComFunctions
extends java.lang.Object
implements ComFunctionsInterface


Method Summary
 int log(java.lang.String text)
           
 int raise_exception(int code)
           
 int receive_args(java.lang.String text)
           
 int return_args(java.lang.String text)
           
 int sm_mts_CreateInstance(java.lang.String text)
          Only available when using MTS
 int sm_mts_CreateProperty(java.lang.String group, java.lang.String prop)
          Only available when using MTS
 int sm_mts_CreatePropertyGroup(java.lang.String group)
          Only available when using MTS
 int sm_mts_DisableCommit()
          Only available when using MTS
 int sm_mts_EnableCommit()
          Only available when using MTS
 java.lang.String sm_mts_GetPropertyValue(java.lang.String group, java.lang.String prop)
          Only available when using MTS
 int sm_mts_IsCallerInRole(java.lang.String role)
          Only available when using MTS
 int sm_mts_IsInTransaction()
          Only available when using MTS
 int sm_mts_IsSecurityEnabled()
          Only available when using MTS
 int sm_mts_PutPropertyValue(java.lang.String group, java.lang.String prop, java.lang.String val)
          Only available when using MTS
 int sm_mts_SetAbort()
          Only available when using MTS
 int sm_mts_SetComplete()
          Only available when using MTS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

receive_args

public int receive_args(java.lang.String text)
Specified by:
receive_args in interface ComFunctionsInterface

return_args

public int return_args(java.lang.String text)
Specified by:
return_args in interface ComFunctionsInterface

raise_exception

public int raise_exception(int code)
Specified by:
raise_exception in interface ComFunctionsInterface

log

public int log(java.lang.String text)
Specified by:
log in interface ComFunctionsInterface

sm_mts_CreateInstance

public int sm_mts_CreateInstance(java.lang.String text)
Only available when using MTS

Specified by:
sm_mts_CreateInstance in interface ComFunctionsInterface

sm_mts_SetComplete

public int sm_mts_SetComplete()
Only available when using MTS

Specified by:
sm_mts_SetComplete in interface ComFunctionsInterface

sm_mts_SetAbort

public int sm_mts_SetAbort()
Only available when using MTS

Specified by:
sm_mts_SetAbort in interface ComFunctionsInterface

sm_mts_EnableCommit

public int sm_mts_EnableCommit()
Only available when using MTS

Specified by:
sm_mts_EnableCommit in interface ComFunctionsInterface

sm_mts_DisableCommit

public int sm_mts_DisableCommit()
Only available when using MTS

Specified by:
sm_mts_DisableCommit in interface ComFunctionsInterface

sm_mts_IsInTransaction

public int sm_mts_IsInTransaction()
Only available when using MTS

Specified by:
sm_mts_IsInTransaction in interface ComFunctionsInterface

sm_mts_IsSecurityEnabled

public int sm_mts_IsSecurityEnabled()
Only available when using MTS

Specified by:
sm_mts_IsSecurityEnabled in interface ComFunctionsInterface

sm_mts_IsCallerInRole

public int sm_mts_IsCallerInRole(java.lang.String role)
Only available when using MTS

Specified by:
sm_mts_IsCallerInRole in interface ComFunctionsInterface

sm_mts_CreatePropertyGroup

public int sm_mts_CreatePropertyGroup(java.lang.String group)
Only available when using MTS

Specified by:
sm_mts_CreatePropertyGroup in interface ComFunctionsInterface

sm_mts_CreateProperty

public int sm_mts_CreateProperty(java.lang.String group,
                                 java.lang.String prop)
Only available when using MTS

Specified by:
sm_mts_CreateProperty in interface ComFunctionsInterface

sm_mts_GetPropertyValue

public java.lang.String sm_mts_GetPropertyValue(java.lang.String group,
                                                java.lang.String prop)
Only available when using MTS

Specified by:
sm_mts_GetPropertyValue in interface ComFunctionsInterface

sm_mts_PutPropertyValue

public int sm_mts_PutPropertyValue(java.lang.String group,
                                   java.lang.String prop,
                                   java.lang.String val)
Only available when using MTS

Specified by:
sm_mts_PutPropertyValue in interface ComFunctionsInterface