|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Connection
represents some sort of network connection
between the client machine and a server which provides instant messaging
services.DirectConnection
connects to a specified host on a
specified port by establishing a TCP/IP socket with it.HamsamException
is the superclass of all exceptions thrown by
the Hamsam API.null as its detailed
message.
HamsamException(String) -
Constructor for class hamsam.exception.HamsamException
Constructs a new Hamsam exception with the specified detail message.
HTTP -
Static variable in class hamsam.net.ProxyInfo
Connection type indicating a connection through HTTP proxy to
the Internet.
HttpConnection - class hamsam.net.HttpConnection.
An HTTPConnection
connects to a specified host on a
specified port by establishing an HTTP/1.1 tunnel.
HttpConnection(String, int, String, int) -
Constructor for class hamsam.net.HttpConnection
Construct an HTTP connection to the specified host and port through an
HTTP 1.1 proxy.
HttpConnection(String, int, String, String, String, int) -
Constructor for class hamsam.net.HttpConnection
Construct an HTTP connection to the specified host and port through an
HTTP 1.1 proxy which requires authentication.
I
- ignore() -
Method in class hamsam.api.Buddy
- Prevent this buddy from sending you messages.
- ignoreBuddy(Buddy) -
Method in interface hamsam.protocol.Protocol
- Prevent a buddy from sending you messages.
- ignoreListReceived(Protocol, Buddy[]) -
Method in interface hamsam.api.IMListener
- Invoked when a list of buddies whom you have ignored is received,
after a successful login.
- ignoreListReceived(Protocol, Buddy[]) -
Method in class hamsam.api.IMAdapter
- Invoked when a list of buddies whom you have ignored is received,
after a successful login.
- IllegalArgumentException - exception hamsam.exception.IllegalArgumentException.
- Thrown to indicate that a method has been passed an illegal or inappropriate argument.
- IllegalArgumentException() -
Constructor for class hamsam.exception.IllegalArgumentException
- Constructs an
IllegalArgumentException with no detailed message.
IllegalArgumentException(String) -
Constructor for class hamsam.exception.IllegalArgumentException
Constructs an IllegalArgumentException
with the specified detail message.
IllegalStateException - exception hamsam.exception.IllegalStateException.
Signals that a method has been invoked at an illegal or inappropriate time.
IllegalStateException() -
Constructor for class hamsam.exception.IllegalStateException
Constructs an IllegalStateException with no detailed message.
IllegalStateException(String) -
Constructor for class hamsam.exception.IllegalStateException
Constructs an IllegalStateException
with the specified detail
message.
IMAdapter - class hamsam.api.IMAdapter.
An abstract adapter class receiving instant messaging events.
IMAdapter() -
Constructor for class hamsam.api.IMAdapter
Default constructor.
IMListener - interface hamsam.api.IMListener.
The listener interface for receiving instant messaging events.
instantMessageReceived(Buddy, Message) -
Method in interface hamsam.api.IMListener
Invoked when an instant message is received.
instantMessageReceived(Buddy, Message) -
Method in class hamsam.api.IMAdapter
Invoked when an instant message is received.
isAccepted() -
Method in class hamsam.api.Response
Determines if this response accepts the request involved.
isBuddyAddRequestSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol will notify you if
a user attempts to add you to his / her buddy list.
isBuddyGroupSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports arranging buddies in
different groups.
isBuddyNameAliasSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports buddy name aliases.
isConferenceSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports conferences.
isIgnoreSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports ignoring
buddies.
isInvisibleSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports setting the status of the
user to invisible.
isMailNotifySupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports e-mail alerts.
isOfflineMessageSupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports sending and
receiving offline messages.
isTypingNotifySupported() -
Method in interface hamsam.protocol.Protocol
Determines whether this protocol supports typing notifications.
L
- LogManager - class hamsam.util.log.LogManager.
- LogManager is an abstract class that is used to maintain a set of
shared state about Loggers and log services.
- LogManager() -
Constructor for class hamsam.util.log.LogManager
-
M
- mailNotificationReceived(Protocol, int, String[], String[]) -
Method in interface hamsam.api.IMListener
- Invoked when an e-mail notification arrives.
- mailNotificationReceived(Protocol, int, String[], String[]) -
Method in class hamsam.api.IMAdapter
- Invoked when an e-mail notification arrives.
- Message - class hamsam.api.Message.
- An instant message.
- Message() -
Constructor for class hamsam.api.Message
- Default constructor.
- MessageComponent - interface hamsam.api.MessageComponent.
- A component of a message.
O
- offlineMessageReceived(Buddy, Date, Message) -
Method in interface hamsam.api.IMListener
- Invoked when an offline message is received.
- offlineMessageReceived(Buddy, Date, Message) -
Method in class hamsam.api.IMAdapter
- Invoked when an offline message is received.
P
- Protocol - interface hamsam.protocol.Protocol.
- A protocol is a specific implementation of instant messaging services.
- ProtocolManager - class hamsam.protocol.ProtocolManager.
- Provides an interface for manipulating all available protocols.
- ProtocolManager() -
Constructor for class hamsam.protocol.ProtocolManager
-
- protocolMessageReceived(Protocol, Message) -
Method in interface hamsam.api.IMListener
- Invoked when the underlying protocol system sends a notification to
the user.
- protocolMessageReceived(Protocol, Message) -
Method in class hamsam.api.IMAdapter
- Invoked when the underlying protocol system sends a notification to
the user.
- ProxyInfo - class hamsam.net.ProxyInfo.
- Defines the type of connections to be used for each protocol.
- ProxyInfo() -
Constructor for class hamsam.net.ProxyInfo
- Construct a proxy information object indicating direct connection
to the Internet.
- ProxyInfo(int, String, int) -
Constructor for class hamsam.net.ProxyInfo
- Construct a proxy information object indicating the type of proxy to
be used, the proxy server's host name, and proxy server's listening
port number.
Q
- quit() -
Method in class hamsam.api.Conference
- Quit from this conference.
- quitConference(Conference) -
Method in interface hamsam.protocol.Protocol
- Disconnect the current user from a conference.
R
- read() -
Method in class hamsam.net.SocksConnection
- Reads the next byte of data from the input stream.
- read() -
Method in class hamsam.net.HttpConnection
- Reads the next byte of data from the input stream.
- read() -
Method in class hamsam.net.DirectConnection
- Reads the next byte of data from the input stream.
- read() -
Method in interface hamsam.net.Connection
- Reads the next byte of data from the input stream.
- read(byte[]) -
Method in class hamsam.net.SocksConnection
- Reads some number of bytes from the connection and stores them into
the buffer array b.
- read(byte[]) -
Method in class hamsam.net.HttpConnection
- Reads some number of bytes from the connection and stores them into
the buffer array b.
- read(byte[]) -
Method in class hamsam.net.DirectConnection
- Reads some number of bytes from the connection and stores them into
the buffer array b.
- read(byte[]) -
Method in interface hamsam.net.Connection
- Reads some number of bytes from the connection and stores them into
the buffer array b.
- read(byte[], int, int) -
Method in class hamsam.net.SocksConnection
- Reads up to len bytes of data from the connection into an array of bytes.
- read(byte[], int, int) -
Method in class hamsam.net.HttpConnection
- Reads up to len bytes of data from the connection into an array of bytes.
- read(byte[], int, int) -
Method in class hamsam.net.DirectConnection
- Reads up to len bytes of data from the connection into an array of bytes.
- read(byte[], int, int) -
Method in interface hamsam.net.Connection
- Reads up to len bytes of data from the connection into an array of bytes.
- removeParticipant(Buddy) -
Method in class hamsam.api.Conference
- Removes a buddy from this conference object.
- Response - class hamsam.api.Response.
- A response to allow or disallow a user request.
- Response() -
Constructor for class hamsam.api.Response
- Creates a response which accepts the request involved.
- Response(String) -
Constructor for class hamsam.api.Response
- Creates a response which rejects the request involved.
S
- sendConferenceMessage(Conference, Message) -
Method in interface hamsam.protocol.Protocol
- Send a conference message.
- sendInstantMessage(Buddy, Message) -
Method in interface hamsam.protocol.Protocol
- Send an instant message to a buddy.
- sendInstantMessage(Message) -
Method in class hamsam.api.Buddy
- Send an instant message to this buddy.
- sendMessage(Message) -
Method in class hamsam.api.Conference
- Send a message to this conference.
- setAlias(String) -
Method in class hamsam.api.Buddy
- Set the alias name of this buddy.
- setColor(Color) -
Method in class hamsam.api.TextComponent
- Specify the color to be used with this text component.
- setFont(Font) -
Method in class hamsam.api.TextComponent
- Specify the font to be used with this text component.
- setIMListener(IMListener) -
Static method in class hamsam.protocol.ProtocolManager
- Set the listener which will receive all instant messaging
events from all available protocols.
- setListener(IMListener) -
Method in interface hamsam.protocol.Protocol
- Sets the listener for this protocol.
- setPassword(String) -
Method in class hamsam.net.ProxyInfo
- Set the password to be used for proxy authentication.
- setStatus(String) -
Method in class hamsam.api.Buddy
- Set the status message for this buddy.
- setUsername(String) -
Method in class hamsam.net.ProxyInfo
- Set the username to be used for proxy authentication.
- SmileyComponent - class hamsam.api.SmileyComponent.
- A component to represent smileys (emoticons) in instant messages.
- SmileyComponent(Icon, String[], String) -
Constructor for class hamsam.api.SmileyComponent
- Construct a new smiley with a given icon and alternate text.
- SOCKS4 -
Static variable in class hamsam.net.ProxyInfo
- Connection type indicating a connection through Socks Version 4
proxy to the Internet.
- SOCKS5 -
Static variable in class hamsam.net.ProxyInfo
- Connection type indicating a connection through Socks Version 5
proxy to the Internet.
- SocksConnection - class hamsam.net.SocksConnection.
- A
SocksConnection
connects to a specified host and
port through a socks (version 4 or 5) proxy server. - SocksConnection(String, int, String, int) -
Constructor for class hamsam.net.SocksConnection
- Construct a connection to the specified host and port using socks version 4
protocol.
- SocksConnection(String, int, String, String, String, int) -
Constructor for class hamsam.net.SocksConnection
- Construct a connection to the specified host and port using socks version 5
protocol.
- startConference(Conference, String) -
Method in interface hamsam.protocol.Protocol
- Start a new conference by inviting some buddies.
T
- TextComponent - class hamsam.api.TextComponent.
- A text component of a message.
- TextComponent() -
Constructor for class hamsam.api.TextComponent
- Construct a new text component that represents an empty character
sequence.
- TextComponent(String) -
Constructor for class hamsam.api.TextComponent
- Construct a new text component and initialize it with the given
character sequence.
- TextComponent(String, Color) -
Constructor for class hamsam.api.TextComponent
- Construct a new text component and initialize it with a given
character sequence and color information.
- TextComponent(String, Font) -
Constructor for class hamsam.api.TextComponent
- Construct a new text component and initialize it with a given
character sequence and font information.
- TextComponent(String, Font, Color) -
Constructor for class hamsam.api.TextComponent
- Construct a new text component and initialize it with a given
character sequence, font, and color information.
- typingStarted() -
Method in class hamsam.api.Buddy
- Notify this buddy that you have started typing.
- typingStarted(Buddy) -
Method in interface hamsam.api.IMListener
- Invoked when a buddy starts typing.
- typingStarted(Buddy) -
Method in class hamsam.api.IMAdapter
- Invoked when a buddy starts typing.
- typingStarted(Buddy) -
Method in interface hamsam.protocol.Protocol
- Notify this buddy that you have started typing.
- typingStopped() -
Method in class hamsam.api.Buddy
- Notify this buddy that you have stopped typing.
- typingStopped(Buddy) -
Method in interface hamsam.api.IMListener
- Invoked when a buddy stops typing.
- typingStopped(Buddy) -
Method in class hamsam.api.IMAdapter
- Invoked when a buddy stops typing.
- typingStopped(Buddy) -
Method in interface hamsam.protocol.Protocol
- Notify this buddy that you have stopped typing.
U
- unignore() -
Method in class hamsam.api.Buddy
- Undo a previous ignore operation for this buddy.
- unignoreBuddy(Buddy) -
Method in interface hamsam.protocol.Protocol
- Undo a previous ignore operation for a buddy.
- UnsupportedOperationException - exception hamsam.exception.UnsupportedOperationException.
- Thrown to indicate that the requested operation is not supported.
- UnsupportedOperationException() -
Constructor for class hamsam.exception.UnsupportedOperationException
- Constructs an
UnsupportedOperationException with no detailed message.
UnsupportedOperationException(String) -
Constructor for class hamsam.exception.UnsupportedOperationException
Constructs an UnsupportedOperationException
with the specified detail
message.
URLComponent - class hamsam.api.URLComponent.
A component to represent URLs in instant messages.
URLComponent(String, URL) -
Constructor for class hamsam.api.URLComponent
Construct a url component with a link text and link url.
W
- write(byte[]) -
Method in class hamsam.net.SocksConnection
- Writes b.length bytes from the specified byte array to this connection.
- write(byte[]) -
Method in class hamsam.net.HttpConnection
- Writes b.length bytes from the specified byte array to this connection.
- write(byte[]) -
Method in class hamsam.net.DirectConnection
- Writes b.length bytes from the specified byte array to this connection.
- write(byte[]) -
Method in interface hamsam.net.Connection
- Writes b.length bytes from the specified byte array to this connection.
A B C D E F G H I L M O P Q R S T U W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes