Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.8.2 Javadoc
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jivesoftware.openfire.muc.cluster
Class UpdatePresence

    java.lang.Object
      org.jivesoftware.openfire.muc.cluster.MUCRoomTask
          org.jivesoftware.openfire.muc.cluster.UpdatePresence

All Implemented Interfaces:
  Externalizable, Serializable, Runnable, ClusterTask

    public class UpdatePresence

extends MUCRoomTask

Task that updates the presence of an occupant in a room. Each time an occupant changes his presence in the room the other cluster nodes will need to get the presence updated too for the occupant.

Author:
  Gaston Dombiak
See Also:
  Serialized Form

Constructor Summary
`UpdatePresence()`
`UpdatePresence(LocalMUCRoom room, org.xmpp.packet.Presence presence, String nickname)`

Method Summary
`String` | `getNickname()`
`org.xmpp.packet.Presence` | `getPresence()`
`Object` | `getResult()`
`void` | `readExternal(ObjectInput in)`
`void` | `run()`
`void` | `writeExternal(ObjectOutput out)`

Methods inherited from class org.jivesoftware.openfire.muc.cluster.MUCRoomTask
`execute, getRoom, isOriginator, setOriginator`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### UpdatePresence

    public UpdatePresence()

### UpdatePresence

    public UpdatePresence(LocalMUCRoom room,
                          org.xmpp.packet.Presence presence,
                          String nickname)

Method Detail

### getPresence

    public org.xmpp.packet.Presence getPresence()

### getNickname

    public String getNickname()

### getResult

    public Object getResult()

### run

    public void run()

### writeExternal

    public void writeExternal(ObjectOutput out)
                       throws IOException

  Specified by:
    `writeExternal` in interface `Externalizable`
  Overrides:
    `writeExternal` in class `MUCRoomTask`
  Throws:
    `IOException`

### readExternal

    public void readExternal(ObjectInput in)
                      throws IOException,
                             ClassNotFoundException

  Specified by:
    `readExternal` in interface `Externalizable`
  Overrides:
    `readExternal` in class `MUCRoomTask`
  Throws:
    `IOException`
    `ClassNotFoundException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.8.2 Javadoc
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2008 Jive Software.