Normalized since tags to fit envoy-common and envoy-server
Envoy vXXX -> Envoy Client vXXX
This commit is contained in:
@@ -30,7 +30,7 @@ import envoy.util.SerializationUtils;
|
||||
* @author Kai S. K. Engelbart
|
||||
* @author Maximilian Käfer
|
||||
* @author Leon Hofmeister
|
||||
* @since Envoy v0.1-alpha
|
||||
* @since Envoy Client v0.1-alpha
|
||||
*/
|
||||
public class Client implements Closeable {
|
||||
|
||||
@@ -124,7 +124,7 @@ public class Client implements Closeable {
|
||||
* initialization
|
||||
* @throws IOException if no {@link IdGenerator} is present and none could be
|
||||
* requested from the server
|
||||
* @since Envoy v0.2-alpha
|
||||
* @since Envoy Client v0.2-alpha
|
||||
*/
|
||||
public void initReceiver(LocalDb localDb, Cache<Message> receivedMessageCache) throws IOException {
|
||||
checkOnline();
|
||||
@@ -181,7 +181,7 @@ public class Client implements Closeable {
|
||||
*
|
||||
* @param message the message to send
|
||||
* @throws IOException if the message does not reach the server
|
||||
* @since Envoy v0.3-alpha
|
||||
* @since Envoy Client v0.3-alpha
|
||||
*/
|
||||
public void sendMessage(Message message) throws IOException {
|
||||
writeObject(message);
|
||||
@@ -200,7 +200,7 @@ public class Client implements Closeable {
|
||||
* Requests a new {@link IdGenerator} from the server.
|
||||
*
|
||||
* @throws IOException if the request does not reach the server
|
||||
* @since Envoy v0.3-alpha
|
||||
* @since Envoy Client v0.3-alpha
|
||||
*/
|
||||
public void requestIdGenerator() throws IOException {
|
||||
logger.info("Requesting new id generator...");
|
||||
@@ -210,7 +210,7 @@ public class Client implements Closeable {
|
||||
/**
|
||||
* @return a {@code Map<String, User>} of all users on the server with their
|
||||
* user names as keys
|
||||
* @since Envoy v0.2-alpha
|
||||
* @since Envoy Client v0.2-alpha
|
||||
*/
|
||||
public Map<String, User> getUsers() {
|
||||
checkOnline();
|
||||
@@ -232,7 +232,7 @@ public class Client implements Closeable {
|
||||
|
||||
/**
|
||||
* @return the sender object that represents this client.
|
||||
* @since Envoy v0.1-alpha
|
||||
* @since Envoy Client v0.1-alpha
|
||||
*/
|
||||
public User getSender() { return sender; }
|
||||
|
||||
@@ -240,7 +240,7 @@ public class Client implements Closeable {
|
||||
* Sets the client user which is used to send messages.
|
||||
*
|
||||
* @param sender the client user to set
|
||||
* @since Envoy v0.2-alpha
|
||||
* @since Envoy Client v0.2-alpha
|
||||
*/
|
||||
public void setSender(User sender) { this.sender = sender; }
|
||||
|
||||
@@ -251,19 +251,19 @@ public class Client implements Closeable {
|
||||
|
||||
/**
|
||||
* @return {@code true} if a connection to the server could be established
|
||||
* @since Envoy v0.2-alpha
|
||||
* @since Envoy Client v0.2-alpha
|
||||
*/
|
||||
public boolean isOnline() { return online; }
|
||||
|
||||
/**
|
||||
* @return the contacts of this {@link Client}
|
||||
* @since Envoy v0.3-alpha
|
||||
* @since Envoy Client v0.3-alpha
|
||||
*/
|
||||
public Contacts getContacts() { return contacts; }
|
||||
|
||||
/**
|
||||
* @param contacts the contacts to set
|
||||
* @since Envoy v0.3-alpha
|
||||
* @since Envoy Client v0.3-alpha
|
||||
*/
|
||||
public void setContacts(Contacts contacts) { this.contacts = contacts; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user