org.media.mn8.protocol.jabber.datablocks
Class Login
java.lang.Object
|
+--org.media.mn8.protocol.jabber.JabberDataBlock
|
+--org.media.mn8.protocol.jabber.datablocks.Login
- public class Login
- extends JabberDataBlock
The class representing the login message.
This has no incomming constructor as login messages are never
received from the server.
Methods inherited from class org.media.mn8.protocol.jabber.JabberDataBlock |
addAttributeToStringBuffer, addChild, addText, constructReply, getAttribute, getBytes, getChildBlocks, getParent, getTagEnd, getTagStart, getText, setAttribute, toString |
Login
public Login(String username,
String password,
String resource)
- Constructor. Builds the string ready for sending to the server.
- Parameters:
username
- The username to log in withpassword
- The password to log in withresource
- The resource name to use
getTagName
public String getTagName()
- Method to return the tag name
- Overrides:
getTagName
in class JabberDataBlock
- Returns:
- Always the string "iq".
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."