|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChatMessageFactory
Method Summary | |
---|---|
IChatAlertMessage |
createAlertMessage(int aMessageId,
IChatSender aSender,
java.lang.String anAlertText)
Creates "alert" message. |
IChatBoardMessage |
createBoardMessage(int aMessageId,
IChatSender aSender,
int aBlockNumber,
java.lang.String aText)
Creates "board" message. |
IChatTextMessage |
createBroadcastMessage(int aMessageId,
IChatSender aSender,
java.lang.String aText)
Creates private broadcast iChat message. |
IChatConnectMessage |
createConnectMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLogin,
java.lang.String aNickName,
java.lang.String aGreetingMessage,
java.lang.String aRecepient,
EnumStatus aStatus)
Creates connect message. |
IChatConnectMessage |
createConnectToLineMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLogin,
java.lang.String aNickName,
java.lang.String aLine,
java.lang.String aGreetingMessage,
EnumStatus aStatus)
Creates connect to line message. |
IChatCreateLineMessage |
createCreateLineMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLine,
java.lang.String aPassword)
Creates create line message. |
IChatCreateMessage |
createCreateMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLineId,
java.lang.String aReceiver)
Creates "create" message. |
IChatMessage |
createDisconnectFromLineMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLineName)
Creates disconnect from line message. |
IChatDisconnectMessage |
createDisconnectMessage(int aMessageId,
IChatSender aSender)
Creates disconnect message. |
IChatForwardMessage |
createForwardMessage(IChatSender aSender,
java.lang.String aReceiver,
IChatMessage aMessage)
Creates public "transport" message. |
IChatMeMessage |
createMeMessage(int aMessageId,
IChatSender aSender,
java.lang.String aText)
Creates "me" message. |
IChatMessage[] |
createMessage(byte[] aCryptedMessage)
Creates message from the raw byte form. |
IChatMessage |
createPrivateMessage(int aMessageId,
IChatSender aSender,
java.lang.String aReceiver,
java.lang.String aText)
Creates private iChat message. |
IChatTextMessage |
createPublicMessage(int aMessageId,
IChatSender aSender,
java.lang.String aText)
Creates public iChat message. |
IChatReceivedMessage |
createReceivedMessage(int aMessageId,
IChatSender aSender,
java.lang.String aConfirmationText)
Creates "received" message. |
IChatRefreshBoardMessage |
createRefreshBoardMessage(int aMessageId,
IChatSender aSender)
Creates "refresh board" message. |
IChatRefreshMessage |
createRefreshLineMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLogin,
java.lang.String aNickName,
java.lang.String aLineName,
java.lang.String aGreetingMessage,
java.lang.String aReceiver,
EnumStatus aStatus)
Creates refresh-line message. |
IChatRefreshMessage |
createRefreshMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLogin,
java.lang.String aNickName,
java.lang.String aGreetingMessage,
java.lang.String aReceiver,
EnumStatus aStatus)
Creates refresh message. |
IChatRenameMessage |
createRenameMessage(int aMessageId,
IChatSender aSender,
java.lang.String aNewNick)
Creates "rename" message. |
IChatServerForwardMessage |
createServerForwardMessage(IChatMessage aMessage)
Creates server "forward" message. |
IChatStatusMessage |
createStatusMessage(int aMessageId,
IChatSender aSender,
EnumStatus aStatus,
java.lang.String aGreetingMessage)
Creates STATUS message. |
IChatStatusReqMessage |
createStatusReqMessage(int aMessageId,
IChatSender aSender)
Creates STATUS_REQ message. |
Method Detail |
---|
IChatAlertMessage createAlertMessage(int aMessageId, IChatSender aSender, java.lang.String anAlertText)
aMessageId
- -
incremental message idaSender
- -
sender objectanAlertText
- -
alert text
IChatBoardMessage createBoardMessage(int aMessageId, IChatSender aSender, int aBlockNumber, java.lang.String aText)
aMessageId
- -
incremental message idaSender
- -
a senderaBlockNumber
- -
a block numberaText
- -
a message text
IChatTextMessage createBroadcastMessage(int aMessageId, IChatSender aSender, java.lang.String aText)
aMessageId
- -
incremental message idaSender
- -
a senderaText
- -
text of the public message
IChatConnectMessage createConnectMessage(int aMessageId, IChatSender aSender, java.lang.String aLogin, java.lang.String aNickName, java.lang.String aGreetingMessage, java.lang.String aRecepient, EnumStatus aStatus)
aMessageId
- -
incremental message id (increments with each message sent)aSender
- -
a sender objectaLogin
- -
user's system loginaNickName
- -
your nick nameaGreetingMessage
- -
greeting messageaStatus
- -
user status
IChatConnectMessage createConnectToLineMessage(int aMessageId, IChatSender aSender, java.lang.String aLogin, java.lang.String aNickName, java.lang.String aLine, java.lang.String aGreetingMessage, EnumStatus aStatus)
aMessageId
- -
incremental message id (increments with each message sent)aSender
- -
a senderaLogin
- -
user's system loginaNickName
- -
your nick nameaLine
- -
line nameaGreetingMessage
- -
greeting messageaStatus
- -
user status
IChatCreateMessage createCreateMessage(int aMessageId, IChatSender aSender, java.lang.String aLineId, java.lang.String aReceiver)
aMessageId
- -
incremental message idaSender
- -
sender objectaLineId
- -
line identifieraReceiver
- -
receiver
IChatCreateLineMessage createCreateLineMessage(int aMessageId, IChatSender aSender, java.lang.String aLine, java.lang.String aPassword)
aMessageId
- -
incremental message idaSender
- -
a sender objectaLine
- -
a line nameaPassword
- -
the line password
IChatMessage createDisconnectFromLineMessage(int aMessageId, IChatSender aSender, java.lang.String aLineName)
aMessageId
- aSender
- aLineName
-
IChatDisconnectMessage createDisconnectMessage(int aMessageId, IChatSender aSender)
aMessageId
- -
incremental message id (increments with each message sent)aSender
- -
a sender
IChatForwardMessage createForwardMessage(IChatSender aSender, java.lang.String aReceiver, IChatMessage aMessage)
aSender
- -
a sender objectaReceiver
- -
receiver name or '*' for allaMessage
- -
unencrypted message to wrap
IChatServerForwardMessage createServerForwardMessage(IChatMessage aMessage)
aMessage
-
IChatMeMessage createMeMessage(int aMessageId, IChatSender aSender, java.lang.String aText)
aMessageId
- -
incremental message idaSender
- -
sender objectaNewNick
- -
new nickname
IChatMessage[] createMessage(byte[] aCryptedMessage) throws IChatException
aCryptedMessage
- -
crypted raw byte data
IChatException
IChatMessage createPrivateMessage(int aMessageId, IChatSender aSender, java.lang.String aReceiver, java.lang.String aText)
aMessageId
- -
incremental message idaSender
- -
a senderaText
- -
text of the public messageaReceiver
- -
receiver of the message
IChatTextMessage createPublicMessage(int aMessageId, IChatSender aSender, java.lang.String aText)
aMessageId
- -
incremental message idaSender
- -
a senderaText
- -
text of the public message
IChatReceivedMessage createReceivedMessage(int aMessageId, IChatSender aSender, java.lang.String aConfirmationText)
aMessageId
- aSender
- aConfirmationText
-
IChatRefreshMessage createRefreshLineMessage(int aMessageId, IChatSender aSender, java.lang.String aLogin, java.lang.String aNickName, java.lang.String aLineName, java.lang.String aGreetingMessage, java.lang.String aReceiver, EnumStatus aStatus)
aMessageId
- -
incremental message idaSender
- -
fully qualified sender name [ip-address/netbios-name/login]
(192.168.1.11/SOME/name1)aLogin
- aNickName
- aLineName
- aGreetingMessage
- aStatus
-
IChatRefreshBoardMessage createRefreshBoardMessage(int aMessageId, IChatSender aSender)
aMessageId
- -
an incremental message idaSender
- -
sender object
IChatRefreshMessage createRefreshMessage(int aMessageId, IChatSender aSender, java.lang.String aLogin, java.lang.String aNickName, java.lang.String aGreetingMessage, java.lang.String aReceiver, EnumStatus aStatus)
aMessageId
- -
incremental message idaSender
- -
fully qualified sender name [ip-address/netbios-name/login]
(192.168.1.11/SOME/name1)aLogin
- aNickName
- aGreetingMessage
- aStatus
-
IChatRenameMessage createRenameMessage(int aMessageId, IChatSender aSender, java.lang.String aNewNick)
aMessageId
- aSender
- aNewNick
-
IChatStatusMessage createStatusMessage(int aMessageId, IChatSender aSender, EnumStatus aStatus, java.lang.String aGreetingMessage)
aMessageId
- -
incremental message idaSender
- -
a senderaStatus
- -
a statusaGreetingMessage
-
IChatStatusReqMessage createStatusReqMessage(int aMessageId, IChatSender aSender)
aMessageId
- -
incremental message idaSender
- -
a sender
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |