TeamTalk 5 Java DLL Version 5.18A

Functions | Events
Server Notification Callbacks

Notification events for server changes. More...

## Functions

delegate void | BearWare.TeamTalk5Srv.UserConnected (ref User lpUser)
| Callback when a new user is connecting to the server. More...
delegate void | BearWare.TeamTalk5Srv.UserLoggedIn (ref User lpUser)
| Callback when a user has logged in. More...
delegate void | BearWare.TeamTalk5Srv.UserLoggedOut (ref User lpUser)
| Callback when a user has logged out. More...
delegate void | BearWare.TeamTalk5Srv.UserDisconnected (ref User lpUser)
| Callback when user has disconnected. More...
delegate void | BearWare.TeamTalk5Srv.UserTimedout (ref User lpUser)
| Callback when a user's connection has timed out. More...
delegate void | BearWare.TeamTalk5Srv.UserKicked (ref User lpKicker, ref User lpKickee, ref Channel lpChannel)
| Callback when a user has been kicked. More...
delegate void | BearWare.TeamTalk5Srv.UserBanned (ref User lpBanner, ref User lpBanee, IntPtr lpChannel)
| Callback when a user has been banned. More...
delegate void | BearWare.TeamTalk5Srv.UserUnbanned (ref User lpUnbanner, string szIPAddress)
| Callback when a ban is removed. More...
delegate void | BearWare.TeamTalk5Srv.UserUpdated (ref User lpUser)
| Callback when a user's properties are being updated. More...
delegate void | BearWare.TeamTalk5Srv.UserJoinedChannel (ref User lpUser, ref Channel lpChannel)
| Callback when a user has joined a channel. More...
delegate void | BearWare.TeamTalk5Srv.UserLeftChannel (ref User lpUser, ref Channel lpChannel)
| Callback when a user has left a channel. More...
delegate void | BearWare.TeamTalk5Srv.UserMoved (ref User lpMover, ref User lpMovee)
| Callback when a user has been moved. More...
delegate void | BearWare.TeamTalk5Srv.UserTextMessage (ref User lpUser, ref TextMessage lpTextMessage)
| Callback when a user is sending a text message. More...
delegate void | BearWare.TeamTalk5Srv.ChannelCreated (ref Channel lpChannel, ref User lpUser)
| Callback when a new channel has been created. More...
delegate void | BearWare.TeamTalk5Srv.ChannelUpdated (ref Channel lpChannel, ref User lpUser)
| Callback when a channel has been updated. More...
delegate void | BearWare.TeamTalk5Srv.ChannelRemoved (ref Channel lpChannel, ref User lpUser)
| Callback when channel has been removed. More...
delegate void | BearWare.TeamTalk5Srv.FileUploaded (ref RemoteFile lpRemoteFile, ref User lpUser)
| Callback when a new file has been uploaded to a channel. More...
delegate void | BearWare.TeamTalk5Srv.FileDownloaded (ref RemoteFile lpRemoteFile, ref User lpUser)
| Callback when a user has downloaded a file. More...
delegate void | BearWare.TeamTalk5Srv.FileDeleted (ref RemoteFile lpRemoteFile, ref User lpUser)
| Callback when a user has deleted a file. More...
delegate void | BearWare.TeamTalk5Srv.ServerUpdated (ref ServerProperties lpServerProperties, ref User lpUser)
| Callback when a user has updated the server properties. More...
delegate void | BearWare.TeamTalk5Srv.SaveServerConfig (ref User lpUser)
| Callback when a user has reguested to save the server configuration. More...

## Events

UserConnected | BearWare.TeamTalk5Srv.OnUserConnected
| Register using UserConnected delegate. More...
UserLoggedIn | BearWare.TeamTalk5Srv.OnUserLoggedIn
| Register using UserLoggedIn delegate. More...
UserLoggedOut | BearWare.TeamTalk5Srv.OnUserLoggedOut
| Register using UserLoggedOut delegate. More...
UserDisconnected | BearWare.TeamTalk5Srv.OnUserDisconnected
| Register using UserDisconnected delegate. More...
UserTimedout | BearWare.TeamTalk5Srv.OnUserTimedout
| Register using UserTimedout delegate. More...
UserKicked | BearWare.TeamTalk5Srv.OnUserKicked
| Register using UserKicked delegate. More...
UserBanned | BearWare.TeamTalk5Srv.OnUserBanned
| Register using UserBanned delegate. More...
UserUnbanned | BearWare.TeamTalk5Srv.OnUserUnbanned
| Register using UserUnbanned delegate. More...
UserUpdated | BearWare.TeamTalk5Srv.OnUserUpdated
| Register using UserUpdated delegate. More...
UserJoinedChannel | BearWare.TeamTalk5Srv.OnUserJoinedChannel
| Register using UserJoinedChannel delegate. More...
UserLeftChannel | BearWare.TeamTalk5Srv.OnUserLeftChannel
| Register using UserLeftChannel delegate. More...
UserMoved | BearWare.TeamTalk5Srv.OnUserMoved
| Register using UserMoved delegate. More...
UserTextMessage | BearWare.TeamTalk5Srv.OnUserTextMessage
| Register using UserTextMessage delegate. More...
ChannelCreated | BearWare.TeamTalk5Srv.OnChannelCreated
| Register using ChannelCreated delegate. More...
ChannelUpdated | BearWare.TeamTalk5Srv.OnChannelUpdated
| Register using ChannelUpdated delegate. More...
ChannelRemoved | BearWare.TeamTalk5Srv.OnChannelRemoved
| Register using ChannelRemoved delegate. More...
FileUploaded | BearWare.TeamTalk5Srv.OnFileUploaded
| Register using FileUploaded delegate. More...
FileDownloaded | BearWare.TeamTalk5Srv.OnFileDownloaded
| Register using FileDownloaded delegate. More...
FileDeleted | BearWare.TeamTalk5Srv.OnFileDeleted
| Register using FileDeleted delegate. More...
ServerUpdated | BearWare.TeamTalk5Srv.OnServerUpdated
| Register using ServerUpdated delegate. More...
SaveServerConfig | BearWare.TeamTalk5Srv.OnSaveServerConfig
| Register using SaveServerConfig delegate. More...

## Detailed Description

Notification events for server changes.

Callbacks of this type are mainly meant for logging so it's possible to see what is going on the server. Examples of logging events are when a user is dropped due to connection timeout.

## Function Documentation

## ◆ UserConnected()

delegate void BearWare.TeamTalk5Srv.UserConnected | ( | ref User | lpUser | ) |

Callback when a new user is connecting to the server.

Parameters

  lpUser | The user properties gathered so far.

## ◆ UserLoggedIn()

delegate void BearWare.TeamTalk5Srv.UserLoggedIn | ( | ref User | lpUser | ) |

Callback when a user has logged in.

This callback occurs in the context of TeamTalkBase.DoLogin() and if UserLogin returned BearWare.ClientError.CMDERR_SUCCESS.

Parameters

  lpUser | The user properties of the user who logged in.

## ◆ UserLoggedOut()

delegate void BearWare.TeamTalk5Srv.UserLoggedOut | ( | ref User | lpUser | ) |

Callback when a user has logged out.

Parameters

  lpUser | The properties of the user.

## ◆ UserDisconnected()

delegate void BearWare.TeamTalk5Srv.UserDisconnected | ( | ref User | lpUser | ) |

Callback when user has disconnected.

Parameters

  lpUser | The properties of the user.

## ◆ UserTimedout()

delegate void BearWare.TeamTalk5Srv.UserTimedout | ( | ref User | lpUser | ) |

Callback when a user's connection has timed out.

Parameters

  lpUser | The properties of the user.

## ◆ UserKicked()

delegate void BearWare.TeamTalk5Srv.UserKicked | ( | ref User | lpKicker,
|  | ref User | lpKickee,
|  | ref Channel | lpChannel
| ) |  |

Callback when a user has been kicked.

Parameters

  lpKicker | The user who had initiated the kick. This can be 0.
  lpKickee | The user who has been kicked.
  lpChannel | The channel where the user is kicked from. The can be 0.

## ◆ UserBanned()

delegate void BearWare.TeamTalk5Srv.UserBanned | ( | ref User | lpBanner,
|  | ref User | lpBanee,
|  | IntPtr | lpChannel
| ) |  |

Callback when a user has been banned.

Parameters

  lpBanner | The user who had initiated the ban. This can be 0.
  lpBanee | The user who has been banned. This may only contain an IP-address.
  lpChannel | The channel where the user is banned from. The can be 0.

## ◆ UserUnbanned()

delegate void BearWare.TeamTalk5Srv.UserUnbanned | ( | ref User | lpUnbanner,
|  | string | szIPAddress
| ) |  |

Callback when a ban is removed.

This callback occurs in the contect of TeamTalkBase.DoUnBanUser().

Parameters

  lpUnbanner | The user removing the ban.
  szIPAddress | The IP-address which is unbanned.

## ◆ UserUpdated()

delegate void BearWare.TeamTalk5Srv.UserUpdated | ( | ref User | lpUser | ) |

Callback when a user's properties are being updated.

Parameters

  lpUser | The properties of the user.

## ◆ UserJoinedChannel()

delegate void BearWare.TeamTalk5Srv.UserJoinedChannel | ( | ref User | lpUser,
|  | ref Channel | lpChannel
| ) |  |

Callback when a user has joined a channel.

Parameters

  lpUser | The properties of the user.
  lpChannel | The properties of the channel being joined.

## ◆ UserLeftChannel()

delegate void BearWare.TeamTalk5Srv.UserLeftChannel | ( | ref User | lpUser,
|  | ref Channel | lpChannel
| ) |  |

Callback when a user has left a channel.

Parameters

  lpUser | The properties of the user.
  lpChannel | The properties of the channel being left.

## ◆ UserMoved()

delegate void BearWare.TeamTalk5Srv.UserMoved | ( | ref User | lpMover,
|  | ref User | lpMovee
| ) |  |

Callback when a user has been moved.

This callback occurs in the context of TeamTalkBase.DoMoveUser().

Parameters

  lpMover | The user who initiated the move.
  lpMovee | The user who has been moved.

## ◆ UserTextMessage()

delegate void BearWare.TeamTalk5Srv.UserTextMessage | ( | ref User | lpUser,
|  | ref TextMessage | lpTextMessage
| ) |  |

Callback when a user is sending a text message.

This callback occurs in the context of TeamTalkBase.DoTextMessage().

Parameters

  lpUser | The properties of the user.
  lpTextMessage | The text message being sent.

## ◆ ChannelCreated()

delegate void BearWare.TeamTalk5Srv.ChannelCreated | ( | ref Channel | lpChannel,
|  | ref User | lpUser
| ) |  |

Callback when a new channel has been created.

This callback occurs in the context of TeamTalkBase.DoMakeChannel() or TeamTalkBase.DoJoinChannel().

Parameters

  lpChannel | The channel which has been created.
  lpUser | The user who created the channel. This can be 0.

## ◆ ChannelUpdated()

delegate void BearWare.TeamTalk5Srv.ChannelUpdated | ( | ref Channel | lpChannel,
|  | ref User | lpUser
| ) |  |

Callback when a channel has been updated.

This callback occurs in the context of TeamTalkBase.DoUpdateChannel().

Parameters

  lpChannel | The new properties of the channel.
  lpUser | The user who initiated the update. This can be 0.

## ◆ ChannelRemoved()

delegate void BearWare.TeamTalk5Srv.ChannelRemoved | ( | ref Channel | lpChannel,
|  | ref User | lpUser
| ) |  |

Callback when channel has been removed.

Parameters

  lpChannel | The properties of the channel which has been removed.
  lpUser | The properties of the who initiated the removal. This can be 0.

## ◆ FileUploaded()

delegate void BearWare.TeamTalk5Srv.FileUploaded | ( | ref RemoteFile | lpRemoteFile,
|  | ref User | lpUser
| ) |  |

Callback when a new file has been uploaded to a channel.

Parameters

  lpRemoteFile | The properties of the file.
  lpUser | The properties of the user who uploaded the file.

## ◆ FileDownloaded()

delegate void BearWare.TeamTalk5Srv.FileDownloaded | ( | ref RemoteFile | lpRemoteFile,
|  | ref User | lpUser
| ) |  |

Callback when a user has downloaded a file.

Parameters

  lpRemoteFile | The properties of the file.
  lpUser | The properties of the user who downloaded the file.

## ◆ FileDeleted()

delegate void BearWare.TeamTalk5Srv.FileDeleted | ( | ref RemoteFile | lpRemoteFile,
|  | ref User | lpUser
| ) |  |

Callback when a user has deleted a file.

Parameters

  lpRemoteFile | The properties of the file.
  lpUser | The properties of the user who deleted the file.

## ◆ ServerUpdated()

delegate void BearWare.TeamTalk5Srv.ServerUpdated | ( | ref ServerProperties | lpServerProperties,
|  | ref User | lpUser
| ) |  |

Callback when a user has updated the server properties.

This callback occurs in the context of TeamTalkBase.DoUpdateServer().

Parameters

  lpServerProperties | The properties of the server.
  lpUser | The user who initiated the server update.

## ◆ SaveServerConfig()

delegate void BearWare.TeamTalk5Srv.SaveServerConfig | ( | ref User | lpUser | ) |

Callback when a user has reguested to save the server configuration.

Parameters

  lpUser | The properties of the user who requested to save the server configuration. This can be 0.

## Events

## ◆ OnUserConnected

UserConnected BearWare.TeamTalk5Srv.OnUserConnected

Register using UserConnected delegate.

Definition at line 188 of file TeamTalkSrv.cs.

## ◆ OnUserLoggedIn

UserLoggedIn BearWare.TeamTalk5Srv.OnUserLoggedIn

Register using UserLoggedIn delegate.

Definition at line 201 of file TeamTalkSrv.cs.

## ◆ OnUserLoggedOut

UserLoggedOut BearWare.TeamTalk5Srv.OnUserLoggedOut

Register using UserLoggedOut delegate.

Definition at line 210 of file TeamTalkSrv.cs.

## ◆ OnUserDisconnected

UserDisconnected BearWare.TeamTalk5Srv.OnUserDisconnected

Register using UserDisconnected delegate.

Definition at line 220 of file TeamTalkSrv.cs.

## ◆ OnUserTimedout

UserTimedout BearWare.TeamTalk5Srv.OnUserTimedout

Register using UserTimedout delegate.

Definition at line 230 of file TeamTalkSrv.cs.

## ◆ OnUserKicked

UserKicked BearWare.TeamTalk5Srv.OnUserKicked

Register using UserKicked delegate.

Definition at line 242 of file TeamTalkSrv.cs.

## ◆ OnUserBanned

UserBanned BearWare.TeamTalk5Srv.OnUserBanned

Register using UserBanned delegate.

Definition at line 255 of file TeamTalkSrv.cs.

## ◆ OnUserUnbanned

UserUnbanned BearWare.TeamTalk5Srv.OnUserUnbanned

Register using UserUnbanned delegate.

Definition at line 268 of file TeamTalkSrv.cs.

## ◆ OnUserUpdated

UserUpdated BearWare.TeamTalk5Srv.OnUserUpdated

Register using UserUpdated delegate.

Definition at line 278 of file TeamTalkSrv.cs.

## ◆ OnUserJoinedChannel

UserJoinedChannel BearWare.TeamTalk5Srv.OnUserJoinedChannel

Register using UserJoinedChannel delegate.

Definition at line 289 of file TeamTalkSrv.cs.

## ◆ OnUserLeftChannel

UserLeftChannel BearWare.TeamTalk5Srv.OnUserLeftChannel

Register using UserLeftChannel delegate.

Definition at line 300 of file TeamTalkSrv.cs.

## ◆ OnUserMoved

UserMoved BearWare.TeamTalk5Srv.OnUserMoved

Register using UserMoved delegate.

Definition at line 313 of file TeamTalkSrv.cs.

## ◆ OnUserTextMessage

UserTextMessage BearWare.TeamTalk5Srv.OnUserTextMessage

Register using UserTextMessage delegate.

Definition at line 326 of file TeamTalkSrv.cs.

## ◆ OnChannelCreated

ChannelCreated BearWare.TeamTalk5Srv.OnChannelCreated

Register using ChannelCreated delegate.

Definition at line 340 of file TeamTalkSrv.cs.

## ◆ OnChannelUpdated

ChannelUpdated BearWare.TeamTalk5Srv.OnChannelUpdated

Register using ChannelUpdated delegate.

Definition at line 353 of file TeamTalkSrv.cs.

## ◆ OnChannelRemoved

ChannelRemoved BearWare.TeamTalk5Srv.OnChannelRemoved

Register using ChannelRemoved delegate.

Definition at line 365 of file TeamTalkSrv.cs.

## ◆ OnFileUploaded

FileUploaded BearWare.TeamTalk5Srv.OnFileUploaded

Register using FileUploaded delegate.

Definition at line 376 of file TeamTalkSrv.cs.

## ◆ OnFileDownloaded

FileDownloaded BearWare.TeamTalk5Srv.OnFileDownloaded

Register using FileDownloaded delegate.

Definition at line 387 of file TeamTalkSrv.cs.

## ◆ OnFileDeleted

FileDeleted BearWare.TeamTalk5Srv.OnFileDeleted

Register using FileDeleted delegate.

Definition at line 398 of file TeamTalkSrv.cs.

## ◆ OnServerUpdated

ServerUpdated BearWare.TeamTalk5Srv.OnServerUpdated

Register using ServerUpdated delegate.

Definition at line 411 of file TeamTalkSrv.cs.

## ◆ OnSaveServerConfig

SaveServerConfig BearWare.TeamTalk5Srv.OnSaveServerConfig

Register using SaveServerConfig delegate.

Definition at line 423 of file TeamTalkSrv.cs.