|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connections
Singleton holding references to all current server connections. Can be used to create a new server connection or obtain the list of current ones.
Method Summary | |
---|---|
Server[] |
getConnected()
Returns array of connected servers. |
Server |
getNumbered(int index)
Obtains the currently-connected server of the given index. |
Server |
newServer()
Creates a new Server object. |
void |
setDefaultMessageDisplay(DefaultMessageDisplay dmd)
Sets up a link that the plugin can use to get a default MessageDisplay for the given server. |
Method Detail |
---|
Server newServer()
Server getNumbered(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- Index (beginning from 1)
java.lang.ArrayIndexOutOfBoundsException
- If there is no server of that indexServer[] getConnected()
void setDefaultMessageDisplay(DefaultMessageDisplay dmd)
dmd
- Default message display provider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |