public static int write_message(SWIGTYPE_p_sp_port port, SWIGTYPE_p_Message message) { int ret = TransbankWrapPINVOKE.write_message(SWIGTYPE_p_sp_port.getCPtr(port), SWIGTYPE_p_Message.getCPtr(message)); if (TransbankWrapPINVOKE.SWIGPendingException.Pending) { throw TransbankWrapPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_sp_port obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public static int read_ack(SWIGTYPE_p_sp_port port) { int ret = TransbankWrapPINVOKE.read_ack(SWIGTYPE_p_sp_port.getCPtr(port)); return(ret); }
public static int reply_ack(SWIGTYPE_p_sp_port port, string message, int length) { int ret = TransbankWrapPINVOKE.reply_ack(SWIGTYPE_p_sp_port.getCPtr(port), message, length); return(ret); }
public static string get_port_name(SWIGTYPE_p_sp_port port) { string ret = TransbankWrapPINVOKE.get_port_name(SWIGTYPE_p_sp_port.getCPtr(port)); return(ret); }