How it Works: The Big Picture
Register Program to ISB
First, a program needs to be registered to the Linxter Internet Service Bus (ISB). When registering a program to the ISB, you give it a name and decide on the configuration settings that will be used by all instances of it. Each registered program is uniquely identified by a Program ID. At anytime you can update the program’s configuration settings.
Integrate API
Next, you integrate the Linxter API into your development project using either our quick-and-easy wizard integration template or using a command-line process for finite control. Once integrated, you implement the Linxter methods, properties and events your program needs to use.
Deploy
You now deploy your Linxter enabled program. The particular approach you choose to deploy your program is going to depend on whether it is a client or web application, or a web service.
RegisterProgramInstance()
When an instance of your program is first run, it registers itself to the ISB using the RegisterProgramInstance() method, and receives its Program Instance ID, and pulls down its configuration settings.
Create A Message
You now create a message using the CreateMessage() method call. The message is written to the API's local encrypted transactional queue where is stays until it has been sent and successfully received.
Send A Message
To send your messages, you can call the SendNow() method to have all queued messages sent immediately. This is done in the background and non-blocking to your program instance. Using the StartScheduledSend() method call, you can have all queued messages automatically sent on a recurring scheduled basis. Messages are securely and reliably transferred to the ISB, where they wait to be picked up by their designated recipients.
Receive A Message
Messages are securely and reliably retrieved by a recipient program instance using either the ReceiveNow() or StartScheduledReceive() method.
