com.web_visage.ichat
Class IChatBotProperties

java.lang.Object
  extended by com.web_visage.ichat.IChatBotProperties

public class IChatBotProperties
extends java.lang.Object

iChat bot property bean.

Author:
K.Baturytski

Constructor Summary
IChatBotProperties()
          Constructor.
IChatBotProperties(java.util.Properties props)
          Deprecated.  
IChatBotProperties(java.lang.String server, int port, java.lang.String nickName, java.lang.String login, java.lang.String senderIp, java.lang.String senderLogin, java.lang.String senderNetbiosName, java.lang.String greetingMessage)
          Constructor.
 
Method Summary
 java.lang.String getGreetingMessage()
          Returns the greetingMessage.
 java.lang.String getLogin()
          Returns the login.
 java.lang.String getNickname()
          Returns the nickname.
 int getPort()
          Returns the port.
 java.lang.String getSenderIp()
          Returns the senderIp.
 java.lang.String getSenderLogin()
          Returns the senderLogin.
 java.lang.String getSenderNetbiosName()
          Returns the senderNetbiosName.
 java.lang.String getServer()
          Returns the server.
 void setGreetingMessage(java.lang.String greetingMessage)
          The greetingMessage to set.
 void setLogin(java.lang.String login)
          The login to set.
 void setNickname(java.lang.String nickName)
          The nickname to set.
 void setPort(int port)
          The port to set.
 void setSenderIp(java.lang.String senderIp)
          The senderIp to set.
 void setSenderLogin(java.lang.String senderLogin)
          The senderLogin to set.
 void setSenderNetbiosName(java.lang.String senderNetbiosName)
          The senderNetbiosName to set.
 void setServer(java.lang.String server)
          The server to set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IChatBotProperties

public IChatBotProperties()
Constructor.


IChatBotProperties

@Deprecated
public IChatBotProperties(java.util.Properties props)
Deprecated. 

Constructor.

Parameters:
props -

IChatBotProperties

public IChatBotProperties(java.lang.String server,
                          int port,
                          java.lang.String nickName,
                          java.lang.String login,
                          java.lang.String senderIp,
                          java.lang.String senderLogin,
                          java.lang.String senderNetbiosName,
                          java.lang.String greetingMessage)
Constructor.

Parameters:
server - - server url
port - - server port
nickname - - bot's nickname
login - - bot's system login (displayed in the bot's info)
senderIp - - bot's ip address
senderLogin - - bot's system login info (displayed in the computer name section of the bot information)
senderNetbiosName - - bot's netbios name (displayed in the computer name section of the bot information)
greetingMessage - - bot's greeting message
Method Detail

getGreetingMessage

public java.lang.String getGreetingMessage()
Returns the greetingMessage.

Returns:

setGreetingMessage

public void setGreetingMessage(java.lang.String greetingMessage)
The greetingMessage to set.

Parameters:
greetingMessage -

getLogin

public java.lang.String getLogin()
Returns the login.

Returns:

setLogin

public void setLogin(java.lang.String login)
The login to set.

Parameters:
login -

getNickname

public java.lang.String getNickname()
Returns the nickname.

Returns:

setNickname

public void setNickname(java.lang.String nickName)
The nickname to set.

Parameters:
nickname -

getPort

public int getPort()
Returns the port.

Returns:

setPort

public void setPort(int port)
The port to set.

Parameters:
port -

getSenderIp

public java.lang.String getSenderIp()
Returns the senderIp.

Returns:

setSenderIp

public void setSenderIp(java.lang.String senderIp)
The senderIp to set.

Parameters:
senderIp -

getSenderLogin

public java.lang.String getSenderLogin()
Returns the senderLogin.

Returns:

setSenderLogin

public void setSenderLogin(java.lang.String senderLogin)
The senderLogin to set.

Parameters:
senderLogin -

getSenderNetbiosName

public java.lang.String getSenderNetbiosName()
Returns the senderNetbiosName.

Returns:

setSenderNetbiosName

public void setSenderNetbiosName(java.lang.String senderNetbiosName)
The senderNetbiosName to set.

Parameters:
senderNetbiosName -

getServer

public java.lang.String getServer()
Returns the server.

Returns:

setServer

public void setServer(java.lang.String server)
The server to set.

Parameters:
server -