package org.jivesoftware.openfire.plugin.gojara.sessions;

import java.util.Comparator;

/**
 * Comparator to sort GatewaySessions
 * 
 * @author axel.frederik.brand
 * 
 */
public class SortTransport implements Comparator<GatewaySession> {

	public int compare(GatewaySession gws1, GatewaySession gws2) {
		return gws1.getTransport().compareTo(gws2.getTransport());
	}
}
