Copyright © Rasmus Sten and contributors, 1997-2004

nu.dll.lyskom
Interface Asynch


public interface Asynch

Interface containing constants for asynchronous message types.


Field Summary
static int broadcast
          Deprecated. replaced by "send-message"
static int deleted_text
          This message is sent when a text has been deleted.
static int i_am_off
          Deprecated. replaced by "logout"
static int i_am_on
          This message is sent when a session's working conference, what-i-am-doing string or username changes.
static int i_am_on_obsolete
          Deprecated. replaced by "i-am-on"
static int leave_conf
          This message is sent to a user when the user's membership in the working conference is removed for any reason, such as the conference being deleted or a session successfully issued a sub-member call.
static int login
          This message is sent when someone logs onto the LysKOM server.
static int logout
          This message is sent when a session is logged out.
static int new_membership
          This message is sent when a conference has been added to a person's membership.
static int new_name
          A conference has changed it's name.
static int new_recipient
          This message is sent when a new recipient has been added to a text.
static int new_text
          This message is sent when a new text has been created.
static int new_text_old
          A new text has been created.
static int rejected_connection
          This message is sent when someone fails to log in because the maximum number of allowed connections has been reached.
static int send_message
          This message is sent when someone sends a message.
static int sub_recipient
          This message is sent when a recipient has been removed from a text.
static int sync_db
          This message is sent by the server once before it blocks to save its database and once just after it blocks.
 

Field Detail

new_text_old

public static final int new_text_old
A new text has been created. The first parameter is the text number, the second is the text-stat information.

See Also:
Constant Field Values

i_am_off

public static final int i_am_off
Deprecated. replaced by "logout"

See Also:
Constant Field Values

i_am_on_obsolete

public static final int i_am_on_obsolete
Deprecated. replaced by "i-am-on"

See Also:
Constant Field Values

new_name

public static final int new_name
A conference has changed it's name. The first parameter is the conference's number, the second it's old name and the third it's new name.

See Also:
Constant Field Values

i_am_on

public static final int i_am_on
This message is sent when a session's working conference, what-i-am-doing string or username changes. The parameters are a Who-Info struct.

See Also:
Constant Field Values

sync_db

public static final int sync_db
This message is sent by the server once before it blocks to save its database and once just after it blocks.

See Also:
Constant Field Values

leave_conf

public static final int leave_conf
This message is sent to a user when the user's membership in the working conference is removed for any reason, such as the conference being deleted or a session successfully issued a sub-member call. The parameter is the conference number.

See Also:
Constant Field Values

login

public static final int login
This message is sent when someone logs onto the LysKOM server. The parameter is the person's number.

See Also:
Constant Field Values

broadcast

public static final int broadcast
Deprecated. replaced by "send-message"

See Also:
Constant Field Values

rejected_connection

public static final int rejected_connection
This message is sent when someone fails to log in because the maximum number of allowed connections has been reached. You might want to disconnect from the server if your session is idle.

See Also:
Constant Field Values

send_message

public static final int send_message
This message is sent when someone sends a message. The first parameter is the recipient conference, or zero if it is a broadcast message to all users. The second parameter is the sender. The third parameter is a Hollerith containing the message.

See Also:
Constant Field Values

logout

public static final int logout
This message is sent when a session is logged out.

See Also:
Constant Field Values

deleted_text

public static final int deleted_text
This message is sent when a text has been deleted.

See Also:
Constant Field Values

new_text

public static final int new_text
This message is sent when a new text has been created.

See Also:
Constant Field Values

new_recipient

public static final int new_recipient
This message is sent when a new recipient has been added to a text.

See Also:
Constant Field Values

sub_recipient

public static final int sub_recipient
This message is sent when a recipient has been removed from a text.

See Also:
Constant Field Values

new_membership

public static final int new_membership
This message is sent when a conference has been added to a person's membership.

See Also:
Constant Field Values

Copyright © Rasmus Sten and contributors, 1997-2004