Class Simpiti.Connection
Object
|
+--Simpiti.Connection
- class
Simpiti.Connection
Instances of this class are used to handle client
connections to the Simpiti listener as well as the retrieved
message via a callback handler.
Defined in Simpiti.js
|
Constructor Summary |
Simpiti.Connection
(<java.net.Socket> socket, <Object> callback)
Creates a new instance of the Simpiti.Connection class.
|
|
Method Summary |
void
|
close()
Closes the connection.
|
String
|
toString()
Returns a string representation of the connection.
|
java.net.Socket
|
valueOf()
Returns the socket used by this connection.
|
Simpiti.Connection
Simpiti.Connection(<java.net.Socket> socket, <Object> callback)
Creates a new instance of the Simpiti.Connection class.
Parameters:
socket - The socket used for the connection.
callback - The handler and method to be called to further process the mail message received by the connection.
close
void close()
toString
String toString()
Returns a string representation of the connection.
valueOf
java.net.Socket valueOf()
Returns the socket used by this connection.
Documentation generated by
JSDoc on Sun Mar 4 00:51:24 2007