public static AType ConnectNHPP( Aplus environment, AType protocol, AType port, AType host, AType name, AType function) { int portNumber = ExtractInteger(port, "connectNHPP"); return(environment.GetService <AipcService>().Connect(function, name, host, portNumber, protocol)); }
public static AType ListenNP(Aplus environment, AType protocol, AType name, AType function) { if (protocol.Type != ATypes.ASymbol || name.Type != ATypes.ASymbol || function.Type != ATypes.AFunc) { return(AInteger.Create(-1)); } return(environment.GetService <AipcService>().Listen(function, name, protocol)); }
public static AType ListenN(Aplus environment, AType name, AType function) { if (name.Type != ATypes.ASymbol || function.Type != ATypes.AFunc) { return AInteger.Create(-1); } return environment.GetService<AipcService>().Listen(function, name); }
public static AType ListenNPP(Aplus environment, AType protocol, AType port, AType name, AType function) { int portNumber = ExtractInteger(port, "i.listenNPP"); if (protocol.Type != ATypes.ASymbol || name.Type != ATypes.ASymbol || function.Type != ATypes.AFunc) { return AInteger.Create(-1); } return environment.GetService<AipcService>().Listen( function, name, ConnectionAttribute.DEFAULT_HOST, portNumber, protocol); }
public static AType ListenNPP(Aplus environment, AType protocol, AType port, AType name, AType function) { int portNumber = ExtractInteger(port, "i.listenNPP"); if (protocol.Type != ATypes.ASymbol || name.Type != ATypes.ASymbol || function.Type != ATypes.AFunc) { return(AInteger.Create(-1)); } return(environment.GetService <AipcService>().Listen( function, name, ConnectionAttribute.DEFAULT_HOST, portNumber, protocol)); }
public static AType GetAttribute(Aplus environment, AType attributeName, AType handle) { int handleNumber = ExtractInteger(handle, "i.getattr"); return(environment.GetService <AipcService>().GetAttribute(handleNumber, attributeName)); }
public static AType Attributes(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.attrs"); return(environment.GetService <AipcService>().Attributes(handleNumber)); }
public static AType Timeout(Aplus environment, AType argument) { return(environment.GetService <AipcService>().GetTimeout(argument)); }
public static AType GetAttribute(Aplus environment, AType attributeName, AType handle) { int handleNumber = ExtractInteger(handle, "i.getattr"); return environment.GetService<AipcService>().GetAttribute(handleNumber, attributeName); }
public static AType WhatIs(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.whatis"); return environment.GetService<AipcService>().WhatIs(handleNumber); }
public static AType Destroy(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.destroy"); return(environment.GetService <AipcService>().Destroy(handleNumber)); }
public static AType Close(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.close"); return environment.GetService<AipcService>().Close(handleNumber); }
public static AType WhatIs(Aplus environment) { return(environment.GetService <AipcService>().Roster()); }
public static AType Open(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.open"); return environment.GetService<AipcService>().Open(handleNumber); }
public static AType Destroy(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.destroy"); return environment.GetService<AipcService>().Destroy(handleNumber); }
public static AType Send(Aplus environment, AType message, AType handle) { int handleNumber = ExtractInteger(handle, "i.send"); return environment.GetService<AipcService>().Send(handleNumber, message); }
public static AType SyncRead(Aplus environment, AType timeout, AType handle) { int handleNumber = ExtractInteger(handle, "i.syncread"); return environment.GetService<AipcService>().SyncRead(handleNumber, timeout); }
public static AType WhatIs(Aplus environment) { return environment.GetService<AipcService>().Roster(); }
public static AType SetAttribute(Aplus environment, AType value, AType attributeName, AType handle) { ExtractInteger(handle, "i.setattr"); return(environment.GetService <AipcService>().SetAttribute(handle.asInteger, attributeName, value)); }
public static AType Send(Aplus environment, AType message, AType handle) { int handleNumber = ExtractInteger(handle, "i.send"); return(environment.GetService <AipcService>().Send(handleNumber, message)); }
public static AType WhatIs(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.whatis"); return(environment.GetService <AipcService>().WhatIs(handleNumber)); }
public static AType SetAttribute(Aplus environment, AType value, AType attributeName, AType handle) { ExtractInteger(handle, "i.setattr"); return environment.GetService<AipcService>().SetAttribute(handle.asInteger, attributeName, value); }
public static AType SyncRead(Aplus environment, AType timeout, AType handle) { int handleNumber = ExtractInteger(handle, "i.syncread"); return(environment.GetService <AipcService>().SyncRead(handleNumber, timeout)); }
public static AType ConnectNHPP( Aplus environment, AType protocol, AType port, AType host, AType name, AType function) { int portNumber = ExtractInteger(port, "connectNHPP"); return environment.GetService<AipcService>().Connect(function, name, host, portNumber, protocol); }
public static AType Open(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.open"); return(environment.GetService <AipcService>().Open(handleNumber)); }
public static AType Timeout(Aplus environment, AType argument) { return environment.GetService<AipcService>().GetTimeout(argument); }
public static AType Close(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.close"); return(environment.GetService <AipcService>().Close(handleNumber)); }
public static AType ConnectN(Aplus environment, AType name, AType function) { return(environment.GetService <AipcService>().Connect(function, name)); }
public static AType ConnectN(Aplus environment, AType name, AType function) { return environment.GetService<AipcService>().Connect(function, name); }
public static AType Attributes(Aplus environment, AType handle) { int handleNumber = ExtractInteger(handle, "i.attrs"); return environment.GetService<AipcService>().Attributes(handleNumber); }