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);
        }