summaryrefslogtreecommitdiffstats
blob: c6947ac7f73ba4a282e6da7286fa8abfdfd794ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * Copyright (c) 2010, Isode Limited, London, England.
 * All rights reserved.
 */
/*
 * Copyright (c) 2010, Remko Tronçon.
 * All rights reserved.
 */

package com.isode.stroke.elements;

/**
 * Resource priority from presence stanzas.
 */
public class Priority extends Payload {
    private int priority_ = 0;

    public Priority(){

    }

    public Priority (int priority) {
        priority_ = priority;
    }

    public void setPriority(int priority) {
        priority_ = priority;
    }

    public int getPriority() {
        return priority_;
    }
}