|
Openfire 3.3.0 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.openfire.net.VirtualConnection
org.jivesoftware.openfire.http.HttpSession.HttpVirtualConnection
public static class HttpSession.HttpVirtualConnection
A virtual server connection relates to a http session which its self can relate to many http connections.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jivesoftware.openfire.Connection |
|---|
Connection.CompressionPolicy, Connection.TLSPolicy |
| Field Summary |
|---|
| Fields inherited from class org.jivesoftware.openfire.net.VirtualConnection |
|---|
session |
| Constructor Summary | |
|---|---|
HttpSession.HttpVirtualConnection(InetAddress address)
|
|
| Method Summary | |
|---|---|
void |
closeVirtualConnection()
Closes the virtual connection. |
void |
deliver(Packet packet)
Delivers the packet to this connection without checking the recipient. |
void |
deliverRawText(String text)
Delivers raw text to this connection. |
InetAddress |
getInetAddress()
Returns the InetAddress describing the connection. |
void |
systemShutdown()
Notification message indicating that the server is being shutdown. |
| Methods inherited from class org.jivesoftware.openfire.net.VirtualConnection |
|---|
close, getCompressionPolicy, getLanguage, getMajorXMPPVersion, getMinorXMPPVersion, getPacketDeliverer, getTlsPolicy, init, isClosed, isCompressed, isFlashClient, isSecure, registerCloseListener, removeCloseListener, setCompressionPolicy, setFlashClient, setLanaguage, setTlsPolicy, setXMPPVersion, startCompression, startTLS, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpSession.HttpVirtualConnection(InetAddress address)
| Method Detail |
|---|
public void closeVirtualConnection()
VirtualConnection
closeVirtualConnection in class VirtualConnectionpublic InetAddress getInetAddress()
Connection
public void systemShutdown()
Connection
public void deliver(Packet packet)
throws UnauthorizedException
Connectionsocket.send(packet.getWriteBuffer()).
packet - the packet to deliver.
UnauthorizedException - if a permission error was detected.public void deliverRawText(String text)
ConnectionConnection.deliver(org.xmpp.packet.Packet).This method avoids having to get the writer of this connection and mess directly with the writer. Therefore, this method ensures a correct delivery of the stanza even if other threads were sending data concurrently.
text - the XML stanzas represented kept in a String.
|
Openfire 3.3.0 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||