Download Signal Users
Transcript
USER MANUAL INFORMATION SIGNAL Chapter Utilization Page/ sheet External Issue II - Procedure 9/13 Date 02 04/07/08 1.2 – USE OF OCX COMPONENT The purpose of the OCX Component BovSinalXControl1.ocx” is to enable Information Signal users to develop their applications without the need to know MMTP communication protocol. The following are implementation data for the OCX component: BovSinalXControl1.ocx Properties: Ack: Boolean. Indicates to issuer that it can send the next message. IpAddr:String, IP Address of the MMTP message server process. Port: Integer. MMTP connection port. Methods: The methods used for opening and closing the connection to BOVESPA are as follows: Connect( ): Responsible for allocation of the resources required and beginning of connection with the ProxyDiff receiver. StartRequest(MsgId: String) Requests registration based on the latest handled (MsgId), to start a retransmission, since the start of day. Pass "Blanks". Disconnect( ): Responsible for closing the connection with the ProxyDiff receiver. Events: OnAcceptStart( ): OnConnect( ): Occurs when the component is connected to ProxyDiff receiver. OnDisconnect(Const Desc: String): The ProxyDiff receiver procedure disconnected client. OnError(Error: Integer; Msg, Desc: String): Generated by any anomaly taking place during the connection process or during exchange of messages. OnReceiveData(Const LastMsgId : String , SPF_Header : String, DataPtr : Pointer; DataSize : Integer): Occurs when MEGA BOLSA (BOVESPA's Electronic Trading System) sends a broadcast message. NB: SPF_Header for future use OnStarted( ): Occurs after call from "StartRequest" method. 01 Receiving Information