예제 #1
0
 public Connection(
     IConnectionHandle connectionHandle,
     IRfcRuntime rfcRuntime)
 {
     _stateAgent = Agent.Start <IConnectionHandle, AgentMessage, Either <RfcErrorInfo, object> >(
         connectionHandle, (handle, msg) =>
     {
         if (handle == null)
         {
             return(null,
                    new RfcErrorInfo(RfcRc.RFC_INVALID_HANDLE, RfcErrorGroup.EXTERNAL_RUNTIME_FAILURE,
                                     "Connection already destroyed", "", "", "", "", "", "", "", ""));
         }
예제 #2
0
 internal Function(IFunctionHandle handle, IRfcRuntime rfcRuntime) : base(handle, rfcRuntime)
 {
     Handle      = handle;
     _rfcRuntime = rfcRuntime;
 }
예제 #3
0
 protected TypeDescriptionDataContainer(IDataContainerHandle handle, IRfcRuntime rfcRuntime) : base(handle, rfcRuntime)
 {
     _handle     = handle;
     _rfcRuntime = rfcRuntime;
 }
예제 #4
0
 public Either <RfcErrorInfo, T> GetFieldValue <T>(IRfcRuntime rfcRuntime, IDataContainerHandle handle, Func <Either <RfcErrorInfo, RfcFieldInfo> > func)
 {
     return(func().Bind(fieldInfo =>
                        GetField <T>(new FieldMappingContext(rfcRuntime, handle, fieldInfo))));
 }
예제 #5
0
 public TableRowEnumerator(IRfcRuntime rfcRuntime, Option <ITableHandle> handle)
 {
     _rfcRuntime = rfcRuntime;
     _handle     = handle;
     Reset();
 }
예제 #6
0
파일: Structure.cs 프로젝트: dbosoft/YaNco
 public Structure(IDataContainerHandle handle, IRfcRuntime rfcRuntime) : base(handle, rfcRuntime)
 {
 }
예제 #7
0
 public Table(ITableHandle handle, IRfcRuntime rfcRuntime) : base(handle, rfcRuntime)
 {
     _handle     = handle;
     _rfcRuntime = rfcRuntime;
 }
예제 #8
0
 protected DataContainer(IDataContainerHandle handle, IRfcRuntime rfcRuntime)
 {
     _handle     = handle;
     _rfcRuntime = rfcRuntime;
 }
예제 #9
0
 public FieldMappingContext(IRfcRuntime rfcRuntime, IDataContainerHandle handle, RfcFieldInfo fieldInfo)
 {
     RfcRuntime = rfcRuntime;
     Handle     = handle;
     FieldInfo  = fieldInfo;
 }