|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--disciple.core.PrioritizedConnectionList
title : Prioritized connection list description : Result of the the agent is a prioritized connection list
| Field Summary | |
protected Connection[] |
connectionList_
List with all the connection that the data has to be send to |
protected int[] |
priorityList_
List of priorities for each connection in connectionIds |
| Constructor Summary | |
PrioritizedConnectionList(Connection[] conns)
|
|
PrioritizedConnectionList(Connection[] conns,
int[] priorities)
|
|
| Method Summary | |
Connection |
getConnectionAt(int index)
|
Connection[] |
getConnectionList()
This method returns a list of connections |
int |
getPriorityAt(int index)
|
int[] |
getPriorityList()
This method returns a list of priorities |
void |
setConnectionList(Connection[] list)
This method sets the list of connection. |
void |
setPriorityList(int[] list)
This method sets the list of priorities. |
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Connection[] connectionList_
protected int[] priorityList_
| Constructor Detail |
public PrioritizedConnectionList(Connection[] conns,
int[] priorities)
public PrioritizedConnectionList(Connection[] conns)
| Method Detail |
public void setConnectionList(Connection[] list)
list - Array of Connection objectspublic Connection[] getConnectionList()
public void setPriorityList(int[] list)
list - Array of prioritiespublic int[] getPriorityList()
public int size()
public Connection getConnectionAt(int index)
public int getPriorityAt(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||