TROBroadcastServer Class

This is a Library topic for RemObjects SDK for Delphi
This page is generated from external data, please do not update
Interfaces — Classes — Aliases — Implements
Contents |
Overview
TROBroadcastServer implements a UDP based server that uses the socket implementation provided by the open source Indy components that ship with Delphi.
Building upon the TROIndyUDPServer, the broadcast server is intended to work with broadcast messages that are sent to a (possibly large) number of hosts on the local network.
Location
uROBroadcastServer.pas
- Ancestry: TComponent | TROComponent | TROBaseConnection | TROServer | TROIndyUDPServer | TROBroadcastServer
Properties
| Active (declared in TROServer) |
|---|
|
Toggles whether the server ready to receive requests from clients. Depending on the server type, changing this property might open/close a network socket or otherwise toggle whether the server will process incoming requests.
|
| DefaultResponse protected (declared in TROServer) |
|
|
| Dispatchers (declared in TROServer) |
|
Specifies how incoming requests will be processed and dispatched. Depending on the server type, one or multiple dispatchers can be configured to receive messages from the client. Each dispatcher consists of a Message and an optional Name. Also, each dispatcher can be individually enabled or disabled. Each server must have at least one dispatcher configured, in order to be able to process messages. Essential Sub-Properties
In HTTP based servers (such as the TROIndyHTTPServer, the Name will be appended as folder to the server URL allowing the server to make multiple dispatchers available at different URLs.
|
| Encryption obsolete (declared in TROBaseConnection) |
|
This is DES based enscryption, it is obsolete because works only for Delphi. Use message envelope AES Encryption Envelope instead.
|
| IndyUDPServer (declared in TROIndyUDPServer) |
|
Provides direct access to the underlying Indy implementation. You can use this property to control advanced settings on the Indy object. The available properties and settings depend on the version of Indy you are using.
|
| Port (declared in TROIndyUDPServer) |
|
The network socket where the server will be listening (default for RemObjects SDK UDP servers is 8090).
|
| ServeRodl (declared in TROServer) |
|
|
Instance Methods
| constructor Create override |
|---|
|
|
| destructor Destroy override (declared in TROIndyUDPServer) |
|
|
| Assign override |
|
|
| CheckProperties virtual (declared in TROServer) |
|
|
| CreateUDPServer protected virtual (declared in TROIndyUDPServer) |
|
|
| DispatchMessage (IROTransport, TStream, TStream): boolean protected overload (declared in TROServer) |
|
|
| DispatchMessage (IROTransport, TStream, TStream, TROResponseOptions): boolean protected overload (declared in TROServer) |
|
|
| DoAfterEncryptEvent protected virtual obsolete (declared in TROBaseConnection) |
|
|
| DoBeforeDecryptEvent protected virtual obsolete (declared in TROBaseConnection) |
|
|
| DoDecryption virtual obsolete (declared in TROBaseConnection) |
|
|
| DoDecryption2 obsolete (declared in TROBaseConnection) |
|
|
| DoEncryption virtual obsolete (declared in TROBaseConnection) |
|
|
| DoEncryption2 obsolete (declared in TROBaseConnection) |
|
|
| EncodeEventStream protected (declared in TROServer) |
|
|
| FormatDispStream protected (declared in TROIndyUDPServer) |
|
|
| GetDispatchersClass protected virtual (declared in TROServer) |
|
|
| GetMessageID protected (declared in TROIndyUDPServer) |
|
|
| GetPort protected override (declared in TROIndyUDPServer) |
|
|
| GetRODLReader protected (declared in TROServer) |
|
|
| GetServerType protected override (declared in TROIndyUDPServer) |
|
|
| GetTransportClass protected override |
|
|
| GetTransportObject protected (declared in TROIndyUDPServer) |
|
|
| IntDispatchMessage protected (declared in TROServer) |
|
|
| IntGetActive protected override (declared in TROIndyUDPServer) |
|
|
| IntSetActive protected override (declared in TROIndyUDPServer) |
|
|
| IsEncryptionUsed protected (declared in TROServer) |
|
|
| Loaded protected override |
|
|
| Notification protected override (declared in TROServer) |
|
|
| QueryInterface protected override (declared in TROServer) |
|
|
| ROFreeNotification (declared in TROComponent) |
|
|
| RORemoveFreeNotification (declared in TROComponent) |
|
|
| SendRemoveNotification protected (declared in TROComponent) |
|
|
| SetPort protected override (declared in TROIndyUDPServer) |
|
|
| TriggerReadFromStream protected (declared in TROServer) |
|
|
| TriggerWriteToStream protected (declared in TROServer) |
|
|
Events
| onAfterEncrypt obsolete (declared in TROBaseConnection) |
|---|
|
|
| OnAfterServerActivate (declared in TROServer) |
|
Fires after the server has been activated.
|
| OnAfterServerDeactivate (declared in TROServer) |
|
Fires after the server has been deactivated. You can use this event handler to perform any cleanup you might need after the server has stopped processing new requests.
|
| onBeforeDecrypt obsolete (declared in TROBaseConnection) |
|
|
| OnBeforeServerActivate (declared in TROServer) |
|
Fires just before the server is activated. You can use this event handler to perform any initialization you might need before the server starts processing new requests.
|
| OnBeforeServerDeactivate (declared in TROServer) |
|
Fires just before the server is deactivated. You can use this event handler to perform any cleanup you might need before the server stops processing new requests.
|
| OnGetRODLReader (declared in TROServer) |
|
|
| OnReadFromStream (declared in TROServer) |
|
Fires after a stream with a request message has been received from the client. The event handler can inspect and possibly modify the stream, before it continues to be processed by the higher levels of the RemObjects SDK framework.
|
| OnRORequest |
|
|
| OnWriteToStream (declared in TROServer) |
|
Fires just before a stream with a response message is sent back to the client. The event handler can inspect and possibly modify the stream, before it continues to be sent off to the client.
|
See Also
- Channels
- Lists
- RemObjects SDK for Delphi: Interfaces — Classes — Aliases — Implements
- RemObjects SDK shared: Data Types – File Types
- other editions
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for Xcode: Protocols — Classes — Enums — Aliases — Implements
- RemObjects SDK for Java: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for JavaScript: Objects

Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript