Skip to content

Commit da52d57

Browse files
committed
Updating Copyright
1 parent 1ad385b commit da52d57

10 files changed

Lines changed: 26 additions & 31 deletions

‎LICENSE‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2011 Enno Boland <eb@s01.de>
1+
Copyright (C) 2012 Enno Boland <eb@s01.de>
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of
44
this software and associated documentation files (the "Software"), to deal in

‎examples/Example.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client Test.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/IOCallback.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client IOCallback.java
33
*
4-
* Copyright (c) 2011, ${author}
4+
* Copyright (c) 2012, ${author}
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/IOConnection.java‎

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client IOConnection.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information
@@ -26,6 +26,7 @@
2626
import org.json.JSONException;
2727
import org.json.JSONObject;
2828

29+
// TODO: Auto-generated Javadoc
2930
/**
3031
* The Class IOConnection.
3132
*/
@@ -161,15 +162,6 @@ public void run() {
161162
}
162163
}
163164

164-
/** The heart beat task. */
165-
final TimerTask heartBeatTask = new TimerTask() {
166-
167-
@Override
168-
public void run() {
169-
170-
}
171-
};
172-
173165
/**
174166
* The Class ConnectThread. Handles connecting to the server with an
175167
* {@link IOTransport}
@@ -307,12 +299,12 @@ public void ack(Object... args) {
307299
}
308300

309301
/**
310-
* Synthesize ack.
302+
* adds an {@link IOAcknowledge} to an {@link IOMessage}.
311303
*
312304
* @param message
313-
* the message
305+
* the {@link IOMessage}
314306
* @param ack
315-
* the ack
307+
* the {@link IOAcknowledge}
316308
*/
317309
private void synthesizeAck(IOMessage message, IOAcknowledge ack) {
318310
if (ack != null) {
@@ -357,9 +349,9 @@ protected void error(SocketIOException e) {
357349

358350
/**
359351
* Connects a socket to the IOConnection.
360-
*
361-
* @param socket
362-
* the socket to be connected
352+
*
353+
* @param socket the socket to be connected
354+
* @return true, if successfully registered on this transport, otherwise false.
363355
*/
364356
public boolean register(SocketIO socket) {
365357
String namespace = socket.getNamespace();
@@ -708,9 +700,9 @@ private void warning(String message) {
708700
}
709701

710702
/**
711-
* Returns the session id. This should be called from the
703+
* Returns the session id. This should be called from a {@link IOTransport}
712704
*
713-
* @return the session id {@link IOTransport} to connect to the right
705+
* @return the session id to connect to the right
714706
* Session.
715707
*/
716708
public String getSessionId() {
@@ -831,23 +823,26 @@ public boolean isConnected() {
831823
}
832824

833825
/**
834-
* Gets the current state of this IOConnection
826+
* Gets the current state of this IOConnection.
827+
*
835828
* @return current state
836829
*/
837830
private synchronized int getState() {
838831
return state;
839832
}
840833

841834
/**
842-
* Sets the current state of this IOConnection
843-
* @param new state
835+
* Sets the current state of this IOConnection.
836+
*
837+
* @param state the new state
844838
*/
845839
private synchronized void setState(int state) {
846840
this.state = state;
847841
}
848842

849843
/**
850-
* gets the currently used transport
844+
* gets the currently used transport.
845+
*
851846
* @return currently used transport
852847
*/
853848
public IOTransport getTransport() {

‎src/io/socket/IOMessage.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client IOMessage.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/IOTransport.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client IOTransport.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/SocketIO.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client SocketIO.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/SocketIOException.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client SocketIOException.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/WebsocketTransport.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* socket.io-java-client WebsocketTransport.java
33
*
4-
* Copyright (c) 2011, Enno Boland
4+
* Copyright (c) 2012, Enno Boland
55
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information

‎src/io/socket/XhrTransport.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* socket.io-java-client XhrTransport.java
33
*
44
* Copyright (c) 2012, Enno Boland
5-
* PROJECT DESCRIPTION
5+
* socket.io-java-client is a implementation of the socket.io protocol in Java.
66
*
77
* See LICENSE file for more information
88
*/

0 commit comments

Comments
 (0)