http://fmdc.no-ip.org/

Latest Release
+ FMDC 20060528


 

Use of Cookies

Interfaces - >FMDC.Interfaces.IHub



This represents the Hub connection.
Every Raw message, no matter if it is recieved or will be sent from/to server, has a IHub object internal. This is so you can create your own responses to raw commands and send things to right server.
It is also through this you can modify Hub Gui.

Type Name Description Return
 
Properties
get;set; Protocol Protocol that hub should use to understand messages that is received. IProtocol
get; RegMode Reg mode in hub. -1 = Login Procedure is not done,0 = Normal,1 = Regged, 2 = OP int
get; Gui Gui User Interface IGuiHub
get;set; Me User info on user that use this client. UserInfo
get; HubSetting Hub Settings (Username, protocol and so on) int
Method
FireUpdateGui(int action, object data) Fires event. This can be used to update Gui (Add messages, Users and so on). Actions supported is the ones in Events/Actions.cs void
Connect() Make connection to server. void
Reconnect() Tries to reconnect to server. This will close connection if there is any and try to connect again. void
Parse(string message) Parse and react on message. void
Send(FMDC.HubProtocolTypes.HubMessage message) Send HubMessage to server if connection has been made. void
GetUserById(string id) Retreives User with id. If no user with id exist null will be returned. User
GetUserByNick(string nick) Retreives User with nick. If no user with id exist null will be returned. User