EventReceiver
Overview
EventReceiver class is a callback events receiver implementation for Java.
Location
- Reference: com.remobjects.sdk.jar
- Package: com.remobjects.sdk
- Ancestry: Object | EventReceiver
constructor (Message, ClientChannel, String, String)
Creates EventReceiver with given name, service, channel and message.
constructor(aMessage: Message; aChannel: ClientChannel; aServiceName: String; aReceiverName: String)
EventReceiver(Message aMessage, ClientChannel aChannel, String aServiceName, String aReceiverName)
Parameters:
- aMessage: Given message.
- aChannel: Given channel.
- aServiceName: Given service name.
- aReceiverName: Given name.
constructor (Proxy, String)
Creates EventReceiver with given name and proxy.
Parameters:
- aProxy: Given proxy
- aReceiverName: Given name.
constructor (String)
Creates EventReceiver with given name.
constructor(aReceiverName: String)
EventReceiver(String aReceiverName)
Parameters:
- aReceiverName: Given name.
addListener
Adds event listener.
Parameters:
- aEvent: Given listener.
AdjustPollInterval
property AdjustPollInterval: Boolean read write;
Boolean AdjustPollInterval { __get; __set; }
Channel
property Channel: ClientChannel read write;
ClientChannel Channel { __get; __set; }
IsActive
property IsActive: Boolean read;
Boolean IsActive { __get; }
MaxPollInterval
property MaxPollInterval: Integer read write;
Integer MaxPollInterval { __get; __set; }
Message
MessagesPerPoll
Gets or sets the maximum number of messages to receive with one message call.
If a poll indicates that more messages have been queued than could be retrieved in a single call, subsequent calls are initiated immediately to receive all messages.
property MessagesPerPoll: Integer read write;
Integer MessagesPerPoll { __get; __set; }
MinPollInterval
property MinPollInterval: Integer read write;
Integer MinPollInterval { __get; __set; }
pause
Pause receiver.
method pause
void pause()
PollInterval
property PollInterval: Integer read write;
Integer PollInterval { __get; __set; }
PollIntervalCallback
property PollIntervalCallback: IPollIntervalCallback read write;
IPollIntervalCallback PollIntervalCallback { __get; __set; }
removeListener
Removes listener.
Parameters:
- aEvent: Given listener.
resume
Resume receiver.
method resume
void resume()
ServiceName
property ServiceName: String read write;
String ServiceName { __get; __set; }
start
Starts receiver.
method start
void start()
stop
Stops receiver.
method stop
void stop()
AdjustPollInterval
property AdjustPollInterval: Boolean read write;
Boolean AdjustPollInterval { __get; __set; }
Channel
property Channel: ClientChannel read write;
ClientChannel Channel { __get; __set; }
IsActive
property IsActive: Boolean read;
Boolean IsActive { __get; }
MaxPollInterval
property MaxPollInterval: Integer read write;
Integer MaxPollInterval { __get; __set; }
Message
MessagesPerPoll
Gets or sets the maximum number of messages to receive with one message call.
If a poll indicates that more messages have been queued than could be retrieved in a single call, subsequent calls are initiated immediately to receive all messages.
property MessagesPerPoll: Integer read write;
Integer MessagesPerPoll { __get; __set; }
MinPollInterval
property MinPollInterval: Integer read write;
Integer MinPollInterval { __get; __set; }
PollInterval
property PollInterval: Integer read write;
Integer PollInterval { __get; __set; }
PollIntervalCallback
property PollIntervalCallback: IPollIntervalCallback read write;
IPollIntervalCallback PollIntervalCallback { __get; __set; }
ServiceName
property ServiceName: String read write;
String ServiceName { __get; __set; }
constructor (Message, ClientChannel, String, String)
Creates EventReceiver with given name, service, channel and message.
constructor(aMessage: Message; aChannel: ClientChannel; aServiceName: String; aReceiverName: String)
EventReceiver(Message aMessage, ClientChannel aChannel, String aServiceName, String aReceiverName)
Parameters:
- aMessage: Given message.
- aChannel: Given channel.
- aServiceName: Given service name.
- aReceiverName: Given name.
constructor (Proxy, String)
Creates EventReceiver with given name and proxy.
Parameters:
- aProxy: Given proxy
- aReceiverName: Given name.
constructor (String)
Creates EventReceiver with given name.
constructor(aReceiverName: String)
EventReceiver(String aReceiverName)
Parameters:
- aReceiverName: Given name.
addListener
Adds event listener.
Parameters:
- aEvent: Given listener.
pause
Pause receiver.
method pause
void pause()
removeListener
Removes listener.
Parameters:
- aEvent: Given listener.
resume
Resume receiver.
method resume
void resume()
start
Starts receiver.
method start
void start()
stop
Stops receiver.
method stop
void stop()
- .NET
- Java