public class SlotManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_MAX_FILE_SIZE |
| Modifier and Type | Method and Description |
|---|---|
Slot |
consumeSlotForPut(UUID uuid) |
static SlotManager |
getInstance() |
long |
getMaxFileSize() |
Slot |
getSlot(org.xmpp.packet.JID from,
String fileName,
long fileSize) |
String |
getWebHost() |
int |
getWebPort() |
String |
getWebProtocol() |
void |
setMaxFileSize(long maxFileSize) |
void |
setWebHost(String webHost) |
void |
setWebPort(int webPort) |
void |
setWebProtocol(String webProtocol) |
public static final long DEFAULT_MAX_FILE_SIZE
public static SlotManager getInstance()
public long getMaxFileSize()
public void setMaxFileSize(long maxFileSize)
public Slot getSlot(org.xmpp.packet.JID from, String fileName, long fileSize) throws TooLargeException
TooLargeExceptionpublic void setWebProtocol(String webProtocol)
public String getWebProtocol()
public void setWebHost(String webHost)
public String getWebHost()
public void setWebPort(int webPort)
public int getWebPort()
Copyright © 2017–2018 Goodbytes. All rights reserved.