BMXNET 4.0 Developer API

The RemoteEventService type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Subscribe(String)
Subscribe to an event named anEventType. These events are trigger exclusivley by other BMXNet remote services and travel from client-to-server-to-client. Once subscribed, the RemoteSession will poll based on the EventPollingInterval to see if a server-side event is waiting to be triggered on the client.
TriggerEvent(String, String, Boolean)
Access to a RemoteEventService also allows you to publish your own events. Publishing is done through design and documentation to notify other developers what events you will trigger. An event is published, or triggered, by using TriggerEvent with the name of the event, an optional event specific string with data, and whether or not the publisher, if subsubscribed, wants the event published to them.
Unsubscribe(String)
Unsubscribe from an event named anEventType. Once unsubscribed, published events named anEventType will no longer trigger an event for this RemoteSession.

See Also