diff --git a/doc/clientP2P/ClientManagementUDP.html b/doc/clientP2P/ClientManagementUDP.html deleted file mode 100644 index 8af6803..0000000 --- a/doc/clientP2P/ClientManagementUDP.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -ClientManagementUDP - - - - - - - - - - - - - - - -
- -
- -
-
-
Package clientP2P
-

Class ClientManagementUDP

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Runnable
    -
    -
    -
    public class ClientManagementUDP
    -extends java.lang.Object
    -implements java.lang.Runnable
    -
    Implementation of P2P-JAVA-PROJECT CLIENT
    -
    -
    Version:
    -
    1.0
    -
    Author:
    -
    Louis Royer, Flavien Haas, JS Auge
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClientManagementUDP​(java.lang.String baseDirectory, - java.lang.String host, - int UDPPort) -
      Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidrun() -
      Implementation of Runnable
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClientManagementUDP

        -
        public ClientManagementUDP​(java.lang.String baseDirectory,
        -                           java.lang.String host,
        -                           int UDPPort)
        -
        Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
        -
        -
        Parameters:
        -
        baseDirectory - the root directory where files are stored
        -
        host - hostname of the server
        -
        UDPPort - the server will listen on this port
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        run

        -
        public void run()
        -
        Implementation of Runnable
        -
        -
        Specified by:
        -
        run in interface java.lang.Runnable
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/doc/clientP2P/ClientP2P.html b/doc/clientP2P/ClientP2P.html deleted file mode 100644 index 157b6f4..0000000 --- a/doc/clientP2P/ClientP2P.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - -ClientP2P - - - - - - - - - - - - - - - -
- -
- -
-
-
Package clientP2P
-

Class ClientP2P

-
-
- -
-
    -
  • -
    -
    public class ClientP2P
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClientP2P() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidmain​(java.lang.String[] args) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClientP2P

        -
        public ClientP2P()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/doc/clientP2P/package-summary.html b/doc/clientP2P/package-summary.html deleted file mode 100644 index 7b61596..0000000 --- a/doc/clientP2P/package-summary.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - -clientP2P - - - - - - - - - - - - - - - -
- -
-
-
-

Package clientP2P

-
-
- -
-
- - - diff --git a/doc/clientP2P/package-tree.html b/doc/clientP2P/package-tree.html deleted file mode 100644 index 857ef3c..0000000 --- a/doc/clientP2P/package-tree.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -clientP2P Class Hierarchy - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package clientP2P

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
- - - diff --git a/doc/clientP2P/package-use.html b/doc/clientP2P/package-use.html deleted file mode 100644 index 357bd81..0000000 --- a/doc/clientP2P/package-use.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Package clientP2P - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
clientP2P

-
-
No usage of clientP2P
-
- - - diff --git a/doc/exception/InternalError.html b/doc/exception/InternalError.html deleted file mode 100644 index e735ca1..0000000 --- a/doc/exception/InternalError.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -InternalError - - - - - - - - - - - - - - - -
- -
- -
-
-
Package exception
-

Class InternalError

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class InternalError
    -extends java.lang.Exception
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      InternalError() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        InternalError

        -
        public InternalError()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/doc/exception/ProtocolError.html b/doc/exception/ProtocolError.html deleted file mode 100644 index db070b9..0000000 --- a/doc/exception/ProtocolError.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -ProtocolError - - - - - - - - - - - - - - - -
- -
- -
-
-
Package exception
-

Class ProtocolError

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class ProtocolError
    -extends java.lang.Exception
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ProtocolError() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ProtocolError

        -
        public ProtocolError()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/doc/exception/class-use/InternalError.html b/doc/exception/class-use/InternalError.html deleted file mode 100644 index 4970a81..0000000 --- a/doc/exception/class-use/InternalError.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - -Uses of Class exception.InternalError - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
exception.InternalError

-
-
- -
-
- - - diff --git a/doc/exception/class-use/ProtocolError.html b/doc/exception/class-use/ProtocolError.html deleted file mode 100644 index 66d7d95..0000000 --- a/doc/exception/class-use/ProtocolError.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class exception.ProtocolError - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
exception.ProtocolError

-
-
- -
-
- - - diff --git a/doc/exception/class-use/SizeError.html b/doc/exception/class-use/SizeError.html deleted file mode 100644 index 6a13d5b..0000000 --- a/doc/exception/class-use/SizeError.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - -Uses of Class exception.SizeError - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
exception.SizeError

-
-
- -
-
- - - diff --git a/doc/exception/class-use/TransmissionError.html b/doc/exception/class-use/TransmissionError.html deleted file mode 100644 index 4676064..0000000 --- a/doc/exception/class-use/TransmissionError.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class exception.TransmissionError - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
exception.TransmissionError

-
-
- -
-
- - - diff --git a/doc/exception/class-use/VersionError.html b/doc/exception/class-use/VersionError.html deleted file mode 100644 index bd73afc..0000000 --- a/doc/exception/class-use/VersionError.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class exception.VersionError - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
exception.VersionError

-
-
- -
-
- - - diff --git a/doc/exception/package-tree.html b/doc/exception/package-tree.html deleted file mode 100644 index 35a3531..0000000 --- a/doc/exception/package-tree.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - -exception Class Hierarchy - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package exception

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
- - - diff --git a/doc/exception/package-use.html b/doc/exception/package-use.html deleted file mode 100644 index 1a77d64..0000000 --- a/doc/exception/package-use.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - -Uses of Package exception - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
exception

-
-
- -
-
- - - diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html deleted file mode 100644 index 97ab3ef..0000000 --- a/doc/index-files/index-1.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - -A-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

A

-
-
askOpenDataHomeDirectory() - Method in class tools.Directories
-
-
Asks the user to choose opening dataHomeDirectory or not.
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html deleted file mode 100644 index 15deac2..0000000 --- a/doc/index-files/index-10.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - -M-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

M

-
-
main(String[]) - Static method in class clientP2P.ClientP2P
-
 
-
main(String[]) - Static method in class serverP2P.ServerP2P
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html deleted file mode 100644 index 1213030..0000000 --- a/doc/index-files/index-11.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -N-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

N

-
-
NOT_FOUND - protocolP2P.RequestResponseCode
-
 
-
NotFound - Exception in remoteException
-
 
-
NotFound() - Constructor for exception remoteException.NotFound
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html deleted file mode 100644 index dcca901..0000000 --- a/doc/index-files/index-12.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - -P-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

P

-
-
Payload - Class in protocolP2P
-
-
Representation of payload.
-
-
Payload(RequestResponseCode) - Constructor for class protocolP2P.Payload
-
-
Consructor used to create Payload with a payload size of zero using a RRCode.
-
-
PROTOCOL_ERROR - protocolP2P.RequestResponseCode
-
 
-
ProtocolError - Exception in exception
-
 
-
ProtocolError() - Constructor for exception exception.ProtocolError
-
 
-
protocolP2P - package protocolP2P
-
 
-
ProtocolP2PDatagram - Class in protocolP2P
-
-
Representation of datagram.
-
-
ProtocolP2PDatagram(Payload) - Constructor for class protocolP2P.ProtocolP2PDatagram
-
-
Constructor with payload parameter (typically used when sending datagram).
-
-
ProtocolRemoteError - Exception in remoteException
-
 
-
ProtocolRemoteError() - Constructor for exception remoteException.ProtocolRemoteError
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html deleted file mode 100644 index df20b58..0000000 --- a/doc/index-files/index-13.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - -R-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

R

-
-
readInt(byte[], int) - Static method in class tools.BytesArrayTools
-
-
Read int from a bytearray
-
-
readLong(byte[], int) - Static method in class tools.BytesArrayTools
-
-
Read long from a bytearray
-
-
receive(DatagramSocket) - Static method in class protocolP2P.ProtocolP2PDatagram
-
-
Receive datagram on socket
-
-
remoteException - package remoteException
-
 
-
REQUEST - protocolP2P.CodeType
-
 
-
RequestResponseCode - Enum in protocolP2P
-
-
Request/Response code enum.
-
-
RESPONSE - protocolP2P.CodeType
-
 
-
run() - Method in class clientP2P.ClientManagementUDP
-
-
Implementation of Runnable
-
-
run() - Method in class serverP2P.ServerManagementUDP
-
-
Implementation of runnable.
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html deleted file mode 100644 index 2720fb2..0000000 --- a/doc/index-files/index-14.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - -S-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

S

-
-
send(DatagramSocket, String, int) - Method in class protocolP2P.ProtocolP2PDatagram
-
-
Send datagram on socket (from client)
-
-
send(DatagramSocket, ProtocolP2PDatagram) - Method in class protocolP2P.ProtocolP2PDatagram
-
-
Send datagram on socket (from server, as a response)
-
-
ServerManagementUDP - Class in serverP2P
-
-
Implementation of P2P-JAVA-PROJECT VERSION 1.0 protocol for UDP.
-
-
ServerManagementUDP(String, int) - Constructor for class serverP2P.ServerManagementUDP
-
-
Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
-
-
serverP2P - package serverP2P
-
 
-
ServerP2P - Class in serverP2P
-
 
-
ServerP2P() - Constructor for class serverP2P.ServerP2P
-
 
-
SizeError - Exception in exception
-
-
Used on reception side when size as set in datagram is too big, and we cant store this in a int/long as usual.
-
-
SizeError() - Constructor for exception exception.SizeError
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-15.html b/doc/index-files/index-15.html deleted file mode 100644 index f1c49bc..0000000 --- a/doc/index-files/index-15.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -T-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

T

-
-
tools - package tools
-
 
-
TransmissionError - Exception in exception
-
 
-
TransmissionError() - Constructor for exception exception.TransmissionError
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-16.html b/doc/index-files/index-16.html deleted file mode 100644 index 0733ced..0000000 --- a/doc/index-files/index-16.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - -V-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

V

-
-
valueOf(String) - Static method in enum protocolP2P.CodeType
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum protocolP2P.RequestResponseCode
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum protocolP2P.CodeType
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum protocolP2P.RequestResponseCode
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
VERSION_ERROR - protocolP2P.RequestResponseCode
-
 
-
VersionError - Exception in exception
-
 
-
VersionError() - Constructor for exception exception.VersionError
-
 
-
VersionRemoteError - Exception in remoteException
-
 
-
VersionRemoteError() - Constructor for exception remoteException.VersionRemoteError
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-17.html b/doc/index-files/index-17.html deleted file mode 100644 index a73e925..0000000 --- a/doc/index-files/index-17.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -W-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

W

-
-
write(byte[], int, int) - Static method in class tools.BytesArrayTools
-
-
Write int in a bytearray
-
-
write(byte[], int, long) - Static method in class tools.BytesArrayTools
-
-
Write long in a bytearray
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html deleted file mode 100644 index 65a9188..0000000 --- a/doc/index-files/index-2.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -B-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

B

-
-
BytesArrayTools - Class in tools
-
-
Helper to manipulate byte[].
-
-
BytesArrayTools() - Constructor for class tools.BytesArrayTools
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html deleted file mode 100644 index 98313f2..0000000 --- a/doc/index-files/index-3.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - -C-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

C

-
-
ClientManagementUDP - Class in clientP2P
-
-
Implementation of P2P-JAVA-PROJECT CLIENT
-
-
ClientManagementUDP(String, String, int) - Constructor for class clientP2P.ClientManagementUDP
-
-
Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
-
-
clientP2P - package clientP2P
-
 
-
ClientP2P - Class in clientP2P
-
 
-
ClientP2P() - Constructor for class clientP2P.ClientP2P
-
 
-
codeType - Variable in enum protocolP2P.RequestResponseCode
-
 
-
CodeType - Enum in protocolP2P
-
-
Request/Response code's type enum.
-
-
codeValue - Variable in enum protocolP2P.RequestResponseCode
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html deleted file mode 100644 index a50f3ff..0000000 --- a/doc/index-files/index-4.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -D-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

D

-
-
Directories - Class in tools
-
-
Helper to get application directories.
-
-
Directories(String) - Constructor for class tools.Directories
-
-
Constructor with projectName parameter.
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html deleted file mode 100644 index 94c2a2f..0000000 --- a/doc/index-files/index-5.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -E-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

E

-
-
EMPTY_DIRECTORY - protocolP2P.RequestResponseCode
-
 
-
EMPTY_FILE - protocolP2P.RequestResponseCode
-
 
-
EmptyDirectory - Exception in remoteException
-
 
-
EmptyDirectory() - Constructor for exception remoteException.EmptyDirectory
-
 
-
EmptyFile - Exception in remoteException
-
 
-
EmptyFile() - Constructor for exception remoteException.EmptyFile
-
 
-
ERROR - protocolP2P.CodeType
-
 
-
exception - package exception
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html deleted file mode 100644 index 94e5e20..0000000 --- a/doc/index-files/index-6.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - -F-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

F

-
-
FileList - Class in protocolP2P
-
-
Representation of payload for list response.
-
-
FileList(String[]) - Constructor for class protocolP2P.FileList
-
-
Constructor (typically used by the server) with an ArrayList parameter containing - filenames.
-
-
FilePart - Class in protocolP2P
-
-
Representation of payload for load response.
-
-
FilePart(String, long, long, byte[]) - Constructor for class protocolP2P.FilePart
-
-
Constructor (typically used by server) with informations about file part to send as parameters.
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html deleted file mode 100644 index bdcccea..0000000 --- a/doc/index-files/index-7.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - -G-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

G

-
-
getDataHomeDirectory() - Method in class tools.Directories
-
-
Getter for dataHomeDirectory.
-
-
getFileList() - Method in class protocolP2P.FileList
-
-
fileList getter.
-
-
getFilename() - Method in class protocolP2P.FilePart
-
-
filename getter.
-
-
getFilename() - Method in class protocolP2P.LoadRequest
-
-
filename getter.
-
-
getOffset() - Method in class protocolP2P.FilePart
-
-
offset getter.
-
-
getPartialContent() - Method in class protocolP2P.FilePart
-
-
partialContent getter.
-
-
getPayload() - Method in class protocolP2P.ProtocolP2PDatagram
-
-
Returns Payload associated with the datagram.
-
-
getRequestResponseCode() - Method in class protocolP2P.Payload
-
-
RRCode getter.
-
-
getTotalSize() - Method in class protocolP2P.FilePart
-
-
totalSize getter.
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html deleted file mode 100644 index 966d577..0000000 --- a/doc/index-files/index-8.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -I-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

I

-
-
INTERNAL_ERROR - protocolP2P.RequestResponseCode
-
 
-
InternalError - Exception in exception
-
 
-
InternalError() - Constructor for exception exception.InternalError
-
 
-
InternalRemoteError - Exception in remoteException
-
 
-
InternalRemoteError() - Constructor for exception remoteException.InternalRemoteError
-
 
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html deleted file mode 100644 index 26b69df..0000000 --- a/doc/index-files/index-9.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -L-Index - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G I L M N P R S T V W 
All Classes All Packages - - -

L

-
-
LIST_REQUEST - protocolP2P.RequestResponseCode
-
 
-
LIST_RESPONSE - protocolP2P.RequestResponseCode
-
 
-
LOAD_REQUEST - protocolP2P.RequestResponseCode
-
 
-
LOAD_RESPONSE - protocolP2P.RequestResponseCode
-
 
-
LoadRequest - Class in protocolP2P
-
-
Representation of payload for load request.
-
-
LoadRequest(String) - Constructor for class protocolP2P.LoadRequest
-
-
Constructor (typically used by the server) with a filename parameter.
-
-
-A B C D E F G I L M N P R S T V W 
All Classes All Packages
-
- - - diff --git a/doc/javadoc/allclasses-frame.html b/doc/javadoc/allclasses-frame.html new file mode 100644 index 0000000..b0e1159 --- /dev/null +++ b/doc/javadoc/allclasses-frame.html @@ -0,0 +1,100 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/javadoc/allclasses-index.html b/doc/javadoc/allclasses-index.html deleted file mode 100644 index 7ee95d7..0000000 --- a/doc/javadoc/allclasses-index.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -All Classes - - - - - - - - - - - - - - - -
- -
-
-
-

All Classes

-
-
- -
-
- - - diff --git a/doc/javadoc/allclasses-noframe.html b/doc/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..43bd574 --- /dev/null +++ b/doc/javadoc/allclasses-noframe.html @@ -0,0 +1,100 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/javadoc/allclasses.html b/doc/javadoc/allclasses.html deleted file mode 100644 index 18bd47c..0000000 --- a/doc/javadoc/allclasses.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - -All Classes - - - - - - - - - - - - - -

All Classes

-
- -
- - diff --git a/doc/javadoc/allpackages-index.html b/doc/javadoc/allpackages-index.html deleted file mode 100644 index 94083de..0000000 --- a/doc/javadoc/allpackages-index.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - -All Packages - - - - - - - - - - - - - - - -
- -
-
-
-

All Packages

-
-
- -
-
- - - diff --git a/doc/javadoc/clientP2P/ClientDownload.html b/doc/javadoc/clientP2P/ClientDownload.html new file mode 100644 index 0000000..a2bb9ca --- /dev/null +++ b/doc/javadoc/clientP2P/ClientDownload.html @@ -0,0 +1,962 @@ + + + + + +ClientDownload + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientDownload

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientDownloadPart.html b/doc/javadoc/clientP2P/ClientDownloadPart.html new file mode 100644 index 0000000..ae1aa86 --- /dev/null +++ b/doc/javadoc/clientP2P/ClientDownloadPart.html @@ -0,0 +1,803 @@ + + + + + +ClientDownloadPart + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientDownloadPart

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientDownloadPartTCP.html b/doc/javadoc/clientP2P/ClientDownloadPartTCP.html new file mode 100644 index 0000000..34ded9a --- /dev/null +++ b/doc/javadoc/clientP2P/ClientDownloadPartTCP.html @@ -0,0 +1,477 @@ + + + + + +ClientDownloadPartTCP + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientDownloadPartTCP

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientDownloadPartUDP.html b/doc/javadoc/clientP2P/ClientDownloadPartUDP.html new file mode 100644 index 0000000..9fc34e7 --- /dev/null +++ b/doc/javadoc/clientP2P/ClientDownloadPartUDP.html @@ -0,0 +1,477 @@ + + + + + +ClientDownloadPartUDP + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientDownloadPartUDP

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientDownloadTCP.html b/doc/javadoc/clientP2P/ClientDownloadTCP.html new file mode 100644 index 0000000..a00a438 --- /dev/null +++ b/doc/javadoc/clientP2P/ClientDownloadTCP.html @@ -0,0 +1,480 @@ + + + + + +ClientDownloadTCP + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientDownloadTCP

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientDownloadUDP.html b/doc/javadoc/clientP2P/ClientDownloadUDP.html new file mode 100644 index 0000000..a47ccf9 --- /dev/null +++ b/doc/javadoc/clientP2P/ClientDownloadUDP.html @@ -0,0 +1,480 @@ + + + + + +ClientDownloadUDP + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientDownloadUDP

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientInterface.html b/doc/javadoc/clientP2P/ClientInterface.html new file mode 100644 index 0000000..59f341c --- /dev/null +++ b/doc/javadoc/clientP2P/ClientInterface.html @@ -0,0 +1,386 @@ + + + + + +ClientInterface + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientInterface

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientInterfaceCLI.html b/doc/javadoc/clientP2P/ClientInterfaceCLI.html new file mode 100644 index 0000000..4557593 --- /dev/null +++ b/doc/javadoc/clientP2P/ClientInterfaceCLI.html @@ -0,0 +1,406 @@ + + + + + +ClientInterfaceCLI + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientInterfaceCLI

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientManagement.html b/doc/javadoc/clientP2P/ClientManagement.html new file mode 100644 index 0000000..29b9eac --- /dev/null +++ b/doc/javadoc/clientP2P/ClientManagement.html @@ -0,0 +1,709 @@ + + + + + +ClientManagement + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientManagement

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientManagementTCP.html b/doc/javadoc/clientP2P/ClientManagementTCP.html new file mode 100644 index 0000000..f81e5fa --- /dev/null +++ b/doc/javadoc/clientP2P/ClientManagementTCP.html @@ -0,0 +1,512 @@ + + + + + +ClientManagementTCP + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
clientP2P
+

Class ClientManagementTCP

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/clientP2P/ClientManagementUDP.html b/doc/javadoc/clientP2P/ClientManagementUDP.html index 8af6803..c5ee815 100644 --- a/doc/javadoc/clientP2P/ClientManagementUDP.html +++ b/doc/javadoc/clientP2P/ClientManagementUDP.html @@ -1,22 +1,12 @@ - + - + ClientManagementUDP - - + - - - - - - - + -
- -
-
-
Package clientP2P
+
clientP2P

Class ClientManagementUDP

@@ -125,21 +100,27 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • java.lang.Object
  • +
  • +
    • -
      -
      All Implemented Interfaces:
      -
      java.lang.Runnable
      -

      +
      public class ClientManagementUDP
      -extends java.lang.Object
      -implements java.lang.Runnable
      +extends ClientManagement
      Implementation of P2P-JAVA-PROJECT CLIENT
      Version:
      @@ -153,63 +134,130 @@ implements java.lang.Runnable
      @@ -217,75 +265,197 @@ implements java.lang.Runnable
      • -
          -
        • +
        • Constructor Detail

          - +
          • ClientManagementUDP

            -
            public ClientManagementUDP​(java.lang.String baseDirectory,
            -                           java.lang.String host,
            -                           int UDPPort)
            -
            Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
            +
            public ClientManagementUDP(java.lang.String baseDirectory,
            +                           HostItem tracker,
            +                           java.lang.String partsSubdir,
            +                           Logger logger,
            +                           HostItem client)
            +
            Constructor for UDP implementation, with baseDirectory, tracker, partsSubdir, logger and scanner parameters.
            Parameters:
            baseDirectory - the root directory where files are stored
            -
            host - hostname of the server
            -
            UDPPort - the server will listen on this port
            +
            tracker - tracker HostItem
            +
            partsSubdir - subdirectory to store file parts
            +
            logger - Loggger
            +
            client - HostItem of the application
        -
        -
          -
        • +
        • Method Detail

          - + + + +
            +
          • +

            initDownloader

            +
            protected void initDownloader(java.lang.String filename)
            +
            Initialize downloader
            +
            +
            Specified by:
            +
            initDownloader in class ClientManagement
            +
            Parameters:
            +
            filename - Name of the file to download
            +
            +
          • +
          + + + +
            +
          • +

            writeLog

            +
            protected void writeLog(java.lang.String text,
            +                        LogLevel logLevel)
            +
            Implementation of writeLog
            +
            +
            Specified by:
            +
            writeLog in class ClientManagement
            +
            Parameters:
            +
            text - Text to log
            +
            logLevel - level of logging
            +
            +
          • +
          + + + +
            +
          • +

            writeLog

            +
            protected void writeLog(java.lang.Exception e,
            +                        LogLevel logLevel)
            +
            Implementation of writeLog
            +
            +
            Specified by:
            +
            writeLog in class ClientManagement
            +
            Parameters:
            +
            e - exception to log
            +
            logLevel - level of logging
            +
            +
          • +
          + + + + + + + + + +
            +
          • +

            getTrackerSocket

            +
            protected java.lang.Object getTrackerSocket()
            +                                     throws java.net.SocketException,
            +                                            java.net.UnknownHostException,
            +                                            java.io.IOException
            +
            Getter for tracker socket
            +
            +
            Specified by:
            +
            getTrackerSocket in class ClientManagement
            +
            Returns:
            +
            Tracker's socket
            +
            Throws:
            +
            java.net.SocketException
            +
            java.net.UnknownHostException
            +
            java.io.IOException
            +
            +
          • +
          + + + + + + + +
            +
          • +

            getHostItemSocket

            +
            protected java.lang.Object getHostItemSocket(HostItem hostItem)
            +
            Getter for HostItem socket
            +
            +
            Specified by:
            +
            getHostItemSocket in class ClientManagement
            +
            Parameters:
            +
            hostItem - HostItem
            +
            +
          • +
          +
          • -

            run

            -
            public void run()
            -
            Implementation of Runnable
            +

            closeHostItemSocket

            +
            protected void closeHostItemSocket(HostItem hostItem)
            +
            Close HostItem socket
            Specified by:
            -
            run in interface java.lang.Runnable
            +
            closeHostItemSocket in class ClientManagement
            +
            Parameters:
            +
            hostItem - HostItem
        -
    -
    - diff --git a/doc/javadoc/clientP2P/ClientP2P.html b/doc/javadoc/clientP2P/ClientP2P.html index 157b6f4..59f94b6 100644 --- a/doc/javadoc/clientP2P/ClientP2P.html +++ b/doc/javadoc/clientP2P/ClientP2P.html @@ -1,22 +1,12 @@ - + - + ClientP2P - - + - - - - - - - + -
    - -
    -
    -
    Package clientP2P
    +
    clientP2P

    Class ClientP2P

    @@ -133,127 +108,332 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    -
    - diff --git a/doc/javadoc/clientP2P/class-use/ClientDownload.html b/doc/javadoc/clientP2P/class-use/ClientDownload.html new file mode 100644 index 0000000..a125f5e --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientDownload.html @@ -0,0 +1,229 @@ + + + + + +Uses of Class clientP2P.ClientDownload + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientDownload

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/clientP2P/class-use/ClientDownloadPart.html b/doc/javadoc/clientP2P/class-use/ClientDownloadPart.html new file mode 100644 index 0000000..bd2b146 --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientDownloadPart.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class clientP2P.ClientDownloadPart + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientDownloadPart

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/clientP2P/class-use/ClientP2P.html b/doc/javadoc/clientP2P/class-use/ClientDownloadPartTCP.html similarity index 50% rename from doc/clientP2P/class-use/ClientP2P.html rename to doc/javadoc/clientP2P/class-use/ClientDownloadPartTCP.html index c683e84..312f66b 100644 --- a/doc/clientP2P/class-use/ClientP2P.html +++ b/doc/javadoc/clientP2P/class-use/ClientDownloadPartTCP.html @@ -1,54 +1,39 @@ - + - -Uses of Class clientP2P.ClientP2P - - + +Uses of Class clientP2P.ClientDownloadPartTCP + - - - - - - - + -
    - -
    -
    -

    Uses of Class
    clientP2P.ClientP2P

    +

    Uses of Class
    clientP2P.ClientDownloadPartTCP

    -
    No usage of clientP2P.ClientP2P
    -
    - diff --git a/doc/javadoc/clientP2P/class-use/ClientDownloadPartUDP.html b/doc/javadoc/clientP2P/class-use/ClientDownloadPartUDP.html new file mode 100644 index 0000000..3809857 --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientDownloadPartUDP.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class clientP2P.ClientDownloadPartUDP + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientDownloadPartUDP

    +
    +
    No usage of clientP2P.ClientDownloadPartUDP
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/clientP2P/class-use/ClientDownloadTCP.html b/doc/javadoc/clientP2P/class-use/ClientDownloadTCP.html new file mode 100644 index 0000000..e626fe5 --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientDownloadTCP.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class clientP2P.ClientDownloadTCP + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientDownloadTCP

    +
    +
    No usage of clientP2P.ClientDownloadTCP
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/clientP2P/class-use/ClientDownloadUDP.html b/doc/javadoc/clientP2P/class-use/ClientDownloadUDP.html new file mode 100644 index 0000000..1adf0f6 --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientDownloadUDP.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class clientP2P.ClientDownloadUDP + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientDownloadUDP

    +
    +
    No usage of clientP2P.ClientDownloadUDP
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/clientP2P/class-use/ClientInterface.html b/doc/javadoc/clientP2P/class-use/ClientInterface.html new file mode 100644 index 0000000..bfb8550 --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientInterface.html @@ -0,0 +1,190 @@ + + + + + +Uses of Class clientP2P.ClientInterface + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientInterface

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/clientP2P/class-use/ClientInterfaceCLI.html b/doc/javadoc/clientP2P/class-use/ClientInterfaceCLI.html new file mode 100644 index 0000000..bae48de --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientInterfaceCLI.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class clientP2P.ClientInterfaceCLI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientInterfaceCLI

    +
    +
    No usage of clientP2P.ClientInterfaceCLI
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/clientP2P/class-use/ClientManagement.html b/doc/javadoc/clientP2P/class-use/ClientManagement.html new file mode 100644 index 0000000..33e3faf --- /dev/null +++ b/doc/javadoc/clientP2P/class-use/ClientManagement.html @@ -0,0 +1,260 @@ + + + + + +Uses of Class clientP2P.ClientManagement + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    clientP2P.ClientManagement

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/clientP2P/class-use/ClientManagementUDP.html b/doc/javadoc/clientP2P/class-use/ClientManagementTCP.html similarity index 51% rename from doc/clientP2P/class-use/ClientManagementUDP.html rename to doc/javadoc/clientP2P/class-use/ClientManagementTCP.html index 823f84b..a9d820e 100644 --- a/doc/clientP2P/class-use/ClientManagementUDP.html +++ b/doc/javadoc/clientP2P/class-use/ClientManagementTCP.html @@ -1,54 +1,39 @@ - + - -Uses of Class clientP2P.ClientManagementUDP - - + +Uses of Class clientP2P.ClientManagementTCP + - - - - - - - + -
    - -
    -
    -

    Uses of Class
    clientP2P.ClientManagementUDP

    +

    Uses of Class
    clientP2P.ClientManagementTCP

    -
    No usage of clientP2P.ClientManagementUDP
    -
    - diff --git a/doc/javadoc/clientP2P/class-use/ClientManagementUDP.html b/doc/javadoc/clientP2P/class-use/ClientManagementUDP.html index 823f84b..9d44432 100644 --- a/doc/javadoc/clientP2P/class-use/ClientManagementUDP.html +++ b/doc/javadoc/clientP2P/class-use/ClientManagementUDP.html @@ -1,22 +1,12 @@ - + - + Uses of Class clientP2P.ClientManagementUDP - - + - - - - - - - + -
    - -
    -

    Uses of Class
    clientP2P.ClientManagementUDP

    No usage of clientP2P.ClientManagementUDP
    -
    - diff --git a/doc/javadoc/clientP2P/class-use/ClientP2P.html b/doc/javadoc/clientP2P/class-use/ClientP2P.html index c683e84..25e5e48 100644 --- a/doc/javadoc/clientP2P/class-use/ClientP2P.html +++ b/doc/javadoc/clientP2P/class-use/ClientP2P.html @@ -1,22 +1,12 @@ - + - + Uses of Class clientP2P.ClientP2P - - + - - - - - - - + -
    - -
    -

    Uses of Class
    clientP2P.ClientP2P

    No usage of clientP2P.ClientP2P
    -
    - diff --git a/doc/javadoc/clientP2P/package-frame.html b/doc/javadoc/clientP2P/package-frame.html new file mode 100644 index 0000000..1f088ad --- /dev/null +++ b/doc/javadoc/clientP2P/package-frame.html @@ -0,0 +1,31 @@ + + + + + +clientP2P + + + + + +

    clientP2P

    +
    +

    Classes

    + +
    + + diff --git a/doc/javadoc/clientP2P/package-summary.html b/doc/javadoc/clientP2P/package-summary.html index 7b61596..b467a1a 100644 --- a/doc/javadoc/clientP2P/package-summary.html +++ b/doc/javadoc/clientP2P/package-summary.html @@ -1,22 +1,12 @@ - + - + clientP2P - - + - - - - - - - + -
    - -
    -

    Package clientP2P

    -
    - diff --git a/doc/javadoc/clientP2P/package-tree.html b/doc/javadoc/clientP2P/package-tree.html index 857ef3c..815b315 100644 --- a/doc/javadoc/clientP2P/package-tree.html +++ b/doc/javadoc/clientP2P/package-tree.html @@ -1,22 +1,12 @@ - + - + clientP2P Class Hierarchy - - + - - - - - - - + -
    - -
    -

    Hierarchy For Package clientP2P

    Package Hierarchies: @@ -102,31 +77,52 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    -

    Class Hierarchy

    -
    -
    - diff --git a/doc/javadoc/clientP2P/package-use.html b/doc/javadoc/clientP2P/package-use.html index 357bd81..7fd5502 100644 --- a/doc/javadoc/clientP2P/package-use.html +++ b/doc/javadoc/clientP2P/package-use.html @@ -1,22 +1,12 @@ - + - + Uses of Package clientP2P - - + - - - - - - - + -
    - -
    -

    Uses of Package
    clientP2P

    -
    No usage of clientP2P
    -
    - diff --git a/doc/javadoc/constant-values.html b/doc/javadoc/constant-values.html index 2ddc13d..edb99a1 100644 --- a/doc/javadoc/constant-values.html +++ b/doc/javadoc/constant-values.html @@ -1,22 +1,12 @@ - + - + Constant Field Values - - + - - - - - - - + -
    - -
    -

    Constant Field Values

    -

    Contents

    -
    + +
    +
    + + +

    clientP2P.*

    + + + + +

    exception.*

    + + + + +

    gui.*

    + + + + +

    localException.*

    + + + + +

    protocolP2P.*

    + + + + +

    remoteException.*

    + + + + +

    serverP2P.*

    + + + + +

    tracker.*

    +
    -
    - diff --git a/doc/javadoc/deprecated-list.html b/doc/javadoc/deprecated-list.html index f66ed65..324d860 100644 --- a/doc/javadoc/deprecated-list.html +++ b/doc/javadoc/deprecated-list.html @@ -1,22 +1,12 @@ - + - + Deprecated List - - + - - - - - - - + -
    - -
    -

    Deprecated API

    Contents

    -
    - diff --git a/doc/javadoc/exception/LocalException.html b/doc/javadoc/exception/LocalException.html new file mode 100644 index 0000000..6b2d5c3 --- /dev/null +++ b/doc/javadoc/exception/LocalException.html @@ -0,0 +1,306 @@ + + + + + +LocalException + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    exception
    +

    Class LocalException

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/exception/RemoteException.html b/doc/javadoc/exception/RemoteException.html new file mode 100644 index 0000000..ee89c7a --- /dev/null +++ b/doc/javadoc/exception/RemoteException.html @@ -0,0 +1,306 @@ + + + + + +RemoteException + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    exception
    +

    Class RemoteException

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/exception/SizeError.html b/doc/javadoc/exception/SizeError.html deleted file mode 100644 index 8dcc9c8..0000000 --- a/doc/javadoc/exception/SizeError.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - -SizeError - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package exception
    -

    Class SizeError

    -
    -
    - -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      java.io.Serializable
      -
      -
      -
      public class SizeError
      -extends java.lang.Exception
      -
      Used on reception side when size as set in datagram is too big, and we cant store this in a int/long as usual.
      -
      -
      See Also:
      -
      Serialized Form
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        SizeError() 
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        -
          -
        • - - -

          Methods inherited from class java.lang.Throwable

          -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
        • -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          SizeError

          -
          public SizeError()
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - - - - diff --git a/doc/javadoc/exception/VersionError.html b/doc/javadoc/exception/VersionError.html deleted file mode 100644 index efdb32b..0000000 --- a/doc/javadoc/exception/VersionError.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -VersionError - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    Package exception
    -

    Class VersionError

    -
    -
    - -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      java.io.Serializable
      -
      -
      -
      public class VersionError
      -extends java.lang.Exception
      -
      -
      See Also:
      -
      Serialized Form
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        VersionError() 
        -
      • -
      -
      - -
      -
        -
      • - - -

        Method Summary

        -
          -
        • - - -

          Methods inherited from class java.lang.Throwable

          -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
        • -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
      -
    • - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          VersionError

          -
          public VersionError()
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - - - - diff --git a/doc/javadoc/exception/class-use/InternalError.html b/doc/javadoc/exception/class-use/InternalError.html deleted file mode 100644 index 4970a81..0000000 --- a/doc/javadoc/exception/class-use/InternalError.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - -Uses of Class exception.InternalError - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Uses of Class
    exception.InternalError

    -
    -
    - -
    -
    - - - diff --git a/doc/javadoc/exception/class-use/LocalException.html b/doc/javadoc/exception/class-use/LocalException.html new file mode 100644 index 0000000..81f0d3c --- /dev/null +++ b/doc/javadoc/exception/class-use/LocalException.html @@ -0,0 +1,234 @@ + + + + + +Uses of Class exception.LocalException + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    exception.LocalException

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/exception/class-use/ProtocolError.html b/doc/javadoc/exception/class-use/ProtocolError.html deleted file mode 100644 index 66d7d95..0000000 --- a/doc/javadoc/exception/class-use/ProtocolError.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class exception.ProtocolError - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Uses of Class
    exception.ProtocolError

    -
    -
    - -
    -
    - - - diff --git a/doc/javadoc/exception/class-use/RemoteException.html b/doc/javadoc/exception/class-use/RemoteException.html new file mode 100644 index 0000000..0163842 --- /dev/null +++ b/doc/javadoc/exception/class-use/RemoteException.html @@ -0,0 +1,192 @@ + + + + + +Uses of Class exception.RemoteException + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    exception.RemoteException

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/exception/class-use/SizeError.html b/doc/javadoc/exception/class-use/SizeError.html deleted file mode 100644 index 6a13d5b..0000000 --- a/doc/javadoc/exception/class-use/SizeError.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - -Uses of Class exception.SizeError - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Uses of Class
    exception.SizeError

    -
    -
    - -
    -
    - - - diff --git a/doc/javadoc/exception/class-use/TransmissionError.html b/doc/javadoc/exception/class-use/TransmissionError.html deleted file mode 100644 index 4676064..0000000 --- a/doc/javadoc/exception/class-use/TransmissionError.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class exception.TransmissionError - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Uses of Class
    exception.TransmissionError

    -
    -
    - -
    -
    - - - diff --git a/doc/javadoc/exception/class-use/VersionError.html b/doc/javadoc/exception/class-use/VersionError.html deleted file mode 100644 index bd73afc..0000000 --- a/doc/javadoc/exception/class-use/VersionError.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class exception.VersionError - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Uses of Class
    exception.VersionError

    -
    -
    - -
    -
    - - - diff --git a/doc/javadoc/exception/package-frame.html b/doc/javadoc/exception/package-frame.html new file mode 100644 index 0000000..2d4cf34 --- /dev/null +++ b/doc/javadoc/exception/package-frame.html @@ -0,0 +1,21 @@ + + + + + +exception + + + + + +

    exception

    +
    +

    Exceptions

    + +
    + + diff --git a/doc/javadoc/exception/package-summary.html b/doc/javadoc/exception/package-summary.html index 5144923..e7d6a13 100644 --- a/doc/javadoc/exception/package-summary.html +++ b/doc/javadoc/exception/package-summary.html @@ -1,22 +1,12 @@ - + - + exception - - + - - - - - - - + -
    - -
    -

    Package exception

    -
    - diff --git a/doc/javadoc/gui/ArgumentsGen.html b/doc/javadoc/gui/ArgumentsGen.html new file mode 100644 index 0000000..8ba214c --- /dev/null +++ b/doc/javadoc/gui/ArgumentsGen.html @@ -0,0 +1,632 @@ + + + + + +ArgumentsGen + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class ArgumentsGen

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/ClientInterfaceGUI.html b/doc/javadoc/gui/ClientInterfaceGUI.html new file mode 100644 index 0000000..22261d2 --- /dev/null +++ b/doc/javadoc/gui/ClientInterfaceGUI.html @@ -0,0 +1,395 @@ + + + + + +ClientInterfaceGUI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class ClientInterfaceGUI

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/ClientP2PGUI.html b/doc/javadoc/gui/ClientP2PGUI.html new file mode 100644 index 0000000..6213c48 --- /dev/null +++ b/doc/javadoc/gui/ClientP2PGUI.html @@ -0,0 +1,514 @@ + + + + + +ClientP2PGUI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class ClientP2PGUI

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/DownloadFileGUI.html b/doc/javadoc/gui/DownloadFileGUI.html new file mode 100644 index 0000000..6042ad9 --- /dev/null +++ b/doc/javadoc/gui/DownloadFileGUI.html @@ -0,0 +1,497 @@ + + + + + +DownloadFileGUI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class DownloadFileGUI

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/DownloadSelectionGen.html b/doc/javadoc/gui/DownloadSelectionGen.html new file mode 100644 index 0000000..b43db87 --- /dev/null +++ b/doc/javadoc/gui/DownloadSelectionGen.html @@ -0,0 +1,608 @@ + + + + + +DownloadSelectionGen + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class DownloadSelectionGen

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/ErrorFrame.html b/doc/javadoc/gui/ErrorFrame.html new file mode 100644 index 0000000..cf5c923 --- /dev/null +++ b/doc/javadoc/gui/ErrorFrame.html @@ -0,0 +1,531 @@ + + + + + +ErrorFrame + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class ErrorFrame

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/serverP2P/ServerP2P.html b/doc/javadoc/gui/Gui.html similarity index 58% rename from doc/serverP2P/ServerP2P.html rename to doc/javadoc/gui/Gui.html index 0d119dc..2fc84e0 100644 --- a/doc/serverP2P/ServerP2P.html +++ b/doc/javadoc/gui/Gui.html @@ -1,61 +1,46 @@ - + - -ServerP2P - - + +Gui + - - - - - - - + -
    - -
    -
    -
    Package serverP2P
    -

    Class ServerP2P

    +
    gui
    +

    Class Gui

    @@ -133,8 +108,17 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @@ -142,56 +126,48 @@ extends java.lang.Object @@ -199,64 +175,57 @@ extends java.lang.Object -
    - diff --git a/doc/javadoc/gui/MainWindow.html b/doc/javadoc/gui/MainWindow.html new file mode 100644 index 0000000..a84a5f8 --- /dev/null +++ b/doc/javadoc/gui/MainWindow.html @@ -0,0 +1,436 @@ + + + + + +MainWindow + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + + +
    +
    gui
    +

    Class MainWindow

    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/ArgumentsGen.html b/doc/javadoc/gui/class-use/ArgumentsGen.html new file mode 100644 index 0000000..f80df70 --- /dev/null +++ b/doc/javadoc/gui/class-use/ArgumentsGen.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.ArgumentsGen + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.ArgumentsGen

    +
    +
    No usage of gui.ArgumentsGen
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/ClientInterfaceGUI.html b/doc/javadoc/gui/class-use/ClientInterfaceGUI.html new file mode 100644 index 0000000..24c0a70 --- /dev/null +++ b/doc/javadoc/gui/class-use/ClientInterfaceGUI.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.ClientInterfaceGUI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.ClientInterfaceGUI

    +
    +
    No usage of gui.ClientInterfaceGUI
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/ClientP2PGUI.html b/doc/javadoc/gui/class-use/ClientP2PGUI.html new file mode 100644 index 0000000..35c33f0 --- /dev/null +++ b/doc/javadoc/gui/class-use/ClientP2PGUI.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.ClientP2PGUI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.ClientP2PGUI

    +
    +
    No usage of gui.ClientP2PGUI
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/DownloadFileGUI.html b/doc/javadoc/gui/class-use/DownloadFileGUI.html new file mode 100644 index 0000000..eddcb27 --- /dev/null +++ b/doc/javadoc/gui/class-use/DownloadFileGUI.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.DownloadFileGUI + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.DownloadFileGUI

    +
    +
    No usage of gui.DownloadFileGUI
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/DownloadSelectionGen.html b/doc/javadoc/gui/class-use/DownloadSelectionGen.html new file mode 100644 index 0000000..2e405a8 --- /dev/null +++ b/doc/javadoc/gui/class-use/DownloadSelectionGen.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.DownloadSelectionGen + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.DownloadSelectionGen

    +
    +
    No usage of gui.DownloadSelectionGen
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/ErrorFrame.html b/doc/javadoc/gui/class-use/ErrorFrame.html new file mode 100644 index 0000000..86b6e22 --- /dev/null +++ b/doc/javadoc/gui/class-use/ErrorFrame.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.ErrorFrame + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.ErrorFrame

    +
    +
    No usage of gui.ErrorFrame
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/Gui.html b/doc/javadoc/gui/class-use/Gui.html new file mode 100644 index 0000000..e097fec --- /dev/null +++ b/doc/javadoc/gui/class-use/Gui.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.Gui + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.Gui

    +
    +
    No usage of gui.Gui
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/class-use/MainWindow.html b/doc/javadoc/gui/class-use/MainWindow.html new file mode 100644 index 0000000..9e1b4b0 --- /dev/null +++ b/doc/javadoc/gui/class-use/MainWindow.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class gui.MainWindow + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Uses of Class
    gui.MainWindow

    +
    +
    No usage of gui.MainWindow
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/package-frame.html b/doc/javadoc/gui/package-frame.html new file mode 100644 index 0000000..3586260 --- /dev/null +++ b/doc/javadoc/gui/package-frame.html @@ -0,0 +1,27 @@ + + + + + +gui + + + + + +

    gui

    +
    +

    Classes

    + +
    + + diff --git a/doc/javadoc/gui/package-summary.html b/doc/javadoc/gui/package-summary.html new file mode 100644 index 0000000..48175f9 --- /dev/null +++ b/doc/javadoc/gui/package-summary.html @@ -0,0 +1,178 @@ + + + + + +gui + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Package gui

    +
    +
    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/gui/package-tree.html b/doc/javadoc/gui/package-tree.html new file mode 100644 index 0000000..18725bf --- /dev/null +++ b/doc/javadoc/gui/package-tree.html @@ -0,0 +1,176 @@ + + + + + +gui Class Hierarchy + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    +

    Hierarchy For Package gui

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/tools/package-use.html b/doc/javadoc/gui/package-use.html similarity index 51% rename from doc/tools/package-use.html rename to doc/javadoc/gui/package-use.html index c20baa9..b9c9bcd 100644 --- a/doc/tools/package-use.html +++ b/doc/javadoc/gui/package-use.html @@ -1,52 +1,37 @@ - + - -Uses of Package tools - - + +Uses of Package gui + - - - - - - - + -
    - -
    -
    -

    Uses of Package
    tools

    +

    Uses of Package
    gui

    -
    No usage of tools
    -
    - diff --git a/doc/javadoc/help-doc.html b/doc/javadoc/help-doc.html index b7d741c..63bac03 100644 --- a/doc/javadoc/help-doc.html +++ b/doc/javadoc/help-doc.html @@ -1,22 +1,12 @@ - + - + API Help - - + - - - - - - - + -
    - -
    -

    How This API Document Is Organized

    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    @@ -101,148 +76,118 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    • -

      Overview

      -

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      -
      +

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    • -

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

        -
      • Interfaces
      • +
      • Interfaces (italic)
      • Classes
      • Enums
      • Exceptions
      • Errors
      • Annotation Types
      -
    • -
      -

      Class or Interface

      +

      Class/Interface

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

        -
      • Class Inheritance Diagram
      • +
      • Class inheritance diagram
      • Direct Subclasses
      • All Known Subinterfaces
      • All Known Implementing Classes
      • -
      • Class or Interface Declaration
      • -
      • Class or Interface Description
      • +
      • Class/interface declaration
      • +
      • Class/interface description
      -
      • Nested Class Summary
      • Field Summary
      • -
      • Property Summary
      • Constructor Summary
      • Method Summary
      -
      • Field Detail
      • -
      • Property Detail
      • Constructor Detail
      • Method Detail

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      -
    • -

      Annotation Type

      Each annotation type has its own separate page with the following sections:

        -
      • Annotation Type Declaration
      • -
      • Annotation Type Description
      • +
      • Annotation Type declaration
      • +
      • Annotation Type description
      • Required Element Summary
      • Optional Element Summary
      • Element Detail
      -
    • -

      Enum

      Each enum has its own separate page with the following sections:

        -
      • Enum Declaration
      • -
      • Enum Description
      • +
      • Enum declaration
      • +
      • Enum description
      • Enum Constant Summary
      • Enum Constant Detail
      -
    • -

      Use

      -

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      -
      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    • -

      Tree (Class Hierarchy)

      -

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • -
      • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
      • +
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      -
    • -

      Deprecated API

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      -
    • -

      Index

      -

      The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

      -
      +

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    • -
      -

      All Classes

      -

      The All Classes link shows all classes and interfaces except non-static nested types.

      -
      +

      Prev/Next

      +

      These links take you to the next or previous class, interface, package, or related page.

      +
    • +
    • +

      Frames/No Frames

      +

      These links show and hide the HTML frames. All pages are available with or without frames.

      +
    • +
    • +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

    • -

      Serialized Form

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      -
    • -

      Constant Field Values

      The Constant Field Values page lists the static final fields and their values.

      -
      -
    • -
    • -
      -

      Search

      -

      You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

      -
    -
    -This help file applies to API documentation generated by the standard doclet.
    -
    - diff --git a/doc/javadoc/index-files/index-1.html b/doc/javadoc/index-files/index-1.html index 97ab3ef..37fa59f 100644 --- a/doc/javadoc/index-files/index-1.html +++ b/doc/javadoc/index-files/index-1.html @@ -1,22 +1,12 @@ - + - + A-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    A

    -
    askOpenDataHomeDirectory() - Method in class tools.Directories
    +
    addr - Variable in class serverP2P.ServerManagementTCP.ClientHandler
    +
     
    +
    addr - Variable in class tracker.TrackerManagementTCP.ClientHandler
    +
     
    +
    algoList - Variable in class protocolP2P.HashRequest
    +
     
    +
    ArgumentsGen - Class in gui
    +
     
    +
    ArgumentsGen() - Constructor for class gui.ArgumentsGen
    +
    +
    Creates new form ArgumentsGen
    +
    +
    askOpenDataHomeDirectory(String, Scanner) - Method in class tools.Directories
    Asks the user to choose opening dataHomeDirectory or not.
    +
    assignTask(Long) - Method in class clientP2P.ClientDownloadPart
    +
    +
    Adds offset of files parts to download.
    +
    +
    assignTasks() - Method in class clientP2P.ClientDownload
    +
    +
    Assign tasks randomly to threads.
    +
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-10.html b/doc/javadoc/index-files/index-10.html index 15deac2..bd948ab 100644 --- a/doc/javadoc/index-files/index-10.html +++ b/doc/javadoc/index-files/index-10.html @@ -1,52 +1,37 @@ - + - -M-Index - - + +J-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    M

    +

    J

    -
    main(String[]) - Static method in class clientP2P.ClientP2P
    +
    jButton1 - Variable in class gui.ArgumentsGen
    +
     
    +
    jButton1 - Variable in class gui.DownloadSelectionGen
    +
     
    +
    jButton1ActionPerformed(ActionEvent) - Method in class gui.ArgumentsGen
    +
    +
    Actions when click on connect: creat a clientP2Pgui with the infos from textfields
    +
    +
    jButton1ActionPerformed(ActionEvent) - Method in class gui.DownloadSelectionGen
    +
    +
    Actions to initiate when button "Download" is pressed
    +
    +
    jButton2 - Variable in class gui.DownloadSelectionGen
    +
     
    +
    jButton2ActionPerformed(ActionEvent) - Method in class gui.DownloadSelectionGen
    +
    +
    Actions to initiate when button "Back" is initiate
    +
    +
    jComboBox1 - Variable in class gui.ArgumentsGen
    +
     
    +
    jLabel1 - Variable in class gui.ArgumentsGen
    +
     
    +
    jLabel1 - Variable in class gui.DownloadSelectionGen
    +
     
    +
    jLabel1 - Variable in class gui.ErrorFrame
    +
     
    +
    jLabel2 - Variable in class gui.ArgumentsGen
     
    -
    main(String[]) - Static method in class serverP2P.ServerP2P
    +
    jLabel3 - Variable in class gui.ArgumentsGen
     
    +
    jLabel4 - Variable in class gui.ArgumentsGen
    +
     
    +
    jLabel5 - Variable in class gui.ArgumentsGen
    +
     
    +
    jLabel6 - Variable in class gui.ArgumentsGen
    +
     
    +
    jList1 - Variable in class gui.DownloadSelectionGen
    +
     
    +
    jScrollPane1 - Variable in class gui.DownloadSelectionGen
    +
     
    +
    jTextField1 - Variable in class gui.ArgumentsGen
    +
     
    +
    jTextField1ActionPerformed(ActionEvent) - Method in class gui.ArgumentsGen
    +
     
    +
    jTextField2 - Variable in class gui.ArgumentsGen
    +
     
    +
    jTextField2ActionPerformed(ActionEvent) - Method in class gui.ArgumentsGen
    +
     
    +
    jTextField3 - Variable in class gui.ArgumentsGen
    +
     
    +
    jTextField4 - Variable in class gui.ArgumentsGen
    +
     
    +
    jToggleButton1 - Variable in class gui.ErrorFrame
    +
     
    +
    jToggleButton1ActionPerformed(ActionEvent) - Method in class gui.ErrorFrame
    +
    +
    force exit the program when the button "Close" is pressed
    +
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-11.html b/doc/javadoc/index-files/index-11.html index 1213030..41d1589 100644 --- a/doc/javadoc/index-files/index-11.html +++ b/doc/javadoc/index-files/index-11.html @@ -1,52 +1,37 @@ - + - -N-Index - - + +L-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    N

    +

    L

    -
    NOT_FOUND - protocolP2P.RequestResponseCode
    +
    lastPercentProgress - Variable in class clientP2P.ClientDownload
    +
     
    +
    lastTimeProgress - Variable in class clientP2P.ClientDownload
    +
     
    +
    list - Variable in class clientP2P.ClientInterfaceCLI
    +
     
    +
    listDirectory() - Method in class clientP2P.ClientManagement
    +
    +
    list server’s directory content
    +
    +
    listFilesToDownload - Variable in class gui.DownloadSelectionGen
    +
     
    +
    LoadRequest - Class in protocolP2P
    +
    +
    Representation of payload for load request.
    +
    +
    LoadRequest(String, long, long, HostItem) - Constructor for class protocolP2P.LoadRequest
    +
    +
    Constructor (typically used by the client) with a filename parameter.
    +
    +
    LoadRequest(byte[]) - Constructor for class protocolP2P.LoadRequest
    +
    +
    Constructor (typically used by server) with a byte[] parameter containing the Packet received.
    +
    +
    localException - package localException
    +
     
    +
    LocalException - Exception in exception
    +
     
    +
    LocalException() - Constructor for exception exception.LocalException
    +
     
    +
    lock - Variable in class serverP2P.RatioWatcher
    +
     
    +
    logDir - Variable in class clientP2P.ClientP2P
    +
     
    +
    logDir - Variable in class gui.ClientP2PGUI
    +
     
    +
    logFile - Variable in class tools.Logger
     
    -
    NotFound - Exception in remoteException
    +
    logger - Variable in class clientP2P.ClientDownload
     
    -
    NotFound() - Constructor for exception remoteException.NotFound
    +
    logger - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    logger - Variable in class clientP2P.ClientInterface
    +
     
    +
    logger - Variable in class clientP2P.ClientManagement
    +
     
    +
    logger - Variable in class gui.DownloadFileGUI
    +
     
    +
    logger - Variable in class gui.DownloadSelectionGen
    +
     
    +
    logger - Variable in class serverP2P.FileWatcher
    +
     
    +
    logger - Variable in class serverP2P.RatioWatcher
    +
     
    +
    logger - Variable in class serverP2P.ServerManagement
    +
     
    +
    logger - Variable in class serverP2P.ServerP2P
    +
     
    +
    Logger - Class in tools
    +
    +
    Helper to log.
    +
    +
    Logger(String, boolean) - Constructor for class tools.Logger
    +
    +
    Constructor with logFile.
    +
    +
    logger - Variable in class tracker.Tracker
    +
     
    +
    logger - Variable in class tracker.TrackerManagement
    +
     
    +
    loggerC - Variable in class gui.ClientInterfaceGUI
    +
    +
    Constructor with clientManagement, logger and scanner.
    +
    +
    loggerClient - Variable in class clientP2P.ClientP2P
    +
     
    +
    loggerClient - Variable in class gui.ClientP2PGUI
    +
     
    +
    loggerServer - Variable in class clientP2P.ClientP2P
    +
     
    +
    loggerServer - Variable in class gui.ClientP2PGUI
    +
     
    +
    LogLevel - Enum in tools
    +
    +
    LogLevel Enum.
    +
    +
    LogLevel() - Constructor for enum tools.LogLevel
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-12.html b/doc/javadoc/index-files/index-12.html index dcca901..a9fb0a4 100644 --- a/doc/javadoc/index-files/index-12.html +++ b/doc/javadoc/index-files/index-12.html @@ -1,52 +1,37 @@ - + - -P-Index - - + +M-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    P

    +

    M

    -
    Payload - Class in protocolP2P
    +
    main(String[]) - Static method in class clientP2P.ClientP2P
    -
    Representation of payload.
    +
    Main program entry point. + 1rst parameter is optionnal, and is used to + define port used by the server module to listen.
    -
    Payload(RequestResponseCode) - Constructor for class protocolP2P.Payload
    +
    main(String[]) - Static method in class gui.Gui
    +
     
    +
    main(String[]) - Static method in class serverP2P.ServerP2P
    -
    Consructor used to create Payload with a payload size of zero using a RRCode.
    +
    Main program entry point + first parameter is port number and is mandatory + to test, run with: java serverP2P.ServerP2P
    -
    PROTOCOL_ERROR - protocolP2P.RequestResponseCode
    -
     
    -
    ProtocolError - Exception in exception
    -
     
    -
    ProtocolError() - Constructor for exception exception.ProtocolError
    -
     
    -
    protocolP2P - package protocolP2P
    -
     
    -
    ProtocolP2PDatagram - Class in protocolP2P
    +
    main(String[]) - Static method in class tracker.Tracker
    -
    Representation of datagram.
    +
    Main program entry point + first parameter is port number and is mandatory + to test, run with: java serverP2P.ServerP2P
    -
    ProtocolP2PDatagram(Payload) - Constructor for class protocolP2P.ProtocolP2PDatagram
    +
    MainWindow - Class in gui
    -
    Constructor with payload parameter (typically used when sending datagram).
    +
    Class to download file
    -
    ProtocolRemoteError - Exception in remoteException
    +
    MainWindow() - Constructor for class gui.MainWindow
    +
     
    +
    manager - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    MAX_PARTIAL_SIZE - Static variable in class clientP2P.ClientDownload
    +
     
    +
    MAX_PARTIAL_SIZE - Static variable in class clientP2P.ClientDownloadPart
    +
     
    +
    MAX_SIZE_PARTIAL_CONTENT_POSITION - Static variable in class protocolP2P.LoadRequest
     
    -
    ProtocolRemoteError() - Constructor for exception remoteException.ProtocolRemoteError
    +
    maxSizePartialContent - Variable in class protocolP2P.LoadRequest
    +
     
    +
    message - Variable in class gui.ErrorFrame
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-13.html b/doc/javadoc/index-files/index-13.html index df20b58..c57edcb 100644 --- a/doc/javadoc/index-files/index-13.html +++ b/doc/javadoc/index-files/index-13.html @@ -1,52 +1,37 @@ - + - -R-Index - - + +N-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    R

    +

    N

    -
    readInt(byte[], int) - Static method in class tools.BytesArrayTools
    -
    -
    Read int from a bytearray
    -
    -
    readLong(byte[], int) - Static method in class tools.BytesArrayTools
    -
    -
    Read long from a bytearray
    -
    -
    receive(DatagramSocket) - Static method in class protocolP2P.ProtocolP2PDatagram
    -
    -
    Receive datagram on socket
    -
    -
    remoteException - package remoteException
    +
    name - Variable in enum protocolP2P.HashAlgorithm
    +
     
    +
    noTask - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    NotATracker - Exception in remoteException
     
    -
    REQUEST - protocolP2P.CodeType
    +
    NotATracker() - Constructor for exception remoteException.NotATracker
     
    -
    RequestResponseCode - Enum in protocolP2P
    -
    -
    Request/Response code enum.
    -
    -
    RESPONSE - protocolP2P.CodeType
    +
    NotFound - Exception in remoteException
    +
     
    +
    NotFound() - Constructor for exception remoteException.NotFound
     
    -
    run() - Method in class clientP2P.ClientManagementUDP
    -
    -
    Implementation of Runnable
    -
    -
    run() - Method in class serverP2P.ServerManagementUDP
    -
    -
    Implementation of runnable.
    -
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-14.html b/doc/javadoc/index-files/index-14.html index 2720fb2..e5eb7f8 100644 --- a/doc/javadoc/index-files/index-14.html +++ b/doc/javadoc/index-files/index-14.html @@ -1,52 +1,37 @@ - + - -S-Index - - + +O-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    S

    +

    O

    -
    send(DatagramSocket, String, int) - Method in class protocolP2P.ProtocolP2PDatagram
    -
    -
    Send datagram on socket (from client)
    -
    -
    send(DatagramSocket, ProtocolP2PDatagram) - Method in class protocolP2P.ProtocolP2PDatagram
    -
    -
    Send datagram on socket (from server, as a response)
    -
    -
    ServerManagementUDP - Class in serverP2P
    -
    -
    Implementation of P2P-JAVA-PROJECT VERSION 1.0 protocol for UDP.
    -
    -
    ServerManagementUDP(String, int) - Constructor for class serverP2P.ServerManagementUDP
    -
    -
    Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
    -
    -
    serverP2P - package serverP2P
    +
    offset - Variable in class protocolP2P.Denied
    +
     
    +
    offset - Variable in class protocolP2P.FilePart
    +
     
    +
    offset - Variable in class protocolP2P.LoadRequest
    +
     
    +
    OFFSET_POSITION - Static variable in class protocolP2P.Denied
     
    -
    ServerP2P - Class in serverP2P
    +
    OFFSET_POSITION - Static variable in class protocolP2P.FilePart
     
    -
    ServerP2P() - Constructor for class serverP2P.ServerP2P
    +
    OFFSET_POSITION - Static variable in class protocolP2P.LoadRequest
     
    -
    SizeError - Exception in exception
    +
    offsetsPending - Variable in class clientP2P.ClientDownload
    +
     
    +
    offsetsToAsk - Variable in class clientP2P.ClientDownload
    +
     
    +
    openDataHomeDirectory(String) - Method in class tools.Directories
    -
    Used on reception side when size as set in datagram is too big, and we cant store this in a int/long as usual.
    +
    Opens dataHomeDirectory if supported.
    -
    SizeError() - Constructor for exception exception.SizeError
    +
    os - Variable in class tools.Directories
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-15.html b/doc/javadoc/index-files/index-15.html index f1c49bc..7f89804 100644 --- a/doc/javadoc/index-files/index-15.html +++ b/doc/javadoc/index-files/index-15.html @@ -1,52 +1,37 @@ - + - -T-Index - - + +P-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    T

    +

    P

    -
    tools - package tools
    +
    partialContent - Variable in class protocolP2P.FilePart
    +
     
    +
    partsDir - Variable in class clientP2P.ClientP2P
    +
     
    +
    partsDir - Variable in class gui.ClientP2PGUI
    +
     
    +
    partsSubdir - Variable in class clientP2P.ClientDownload
    +
     
    +
    partsSubdir - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    partsSubdir - Variable in class clientP2P.ClientManagement
    +
     
    +
    Payload - Class in protocolP2P
    +
    +
    Representation of payload.
    +
    +
    Payload(RequestResponseCode) - Constructor for class protocolP2P.Payload
    +
    +
    Consructor used to create Payload with a payload size of zero using a RRCode.
    +
    +
    Payload(byte[]) - Constructor for class protocolP2P.Payload
    +
    +
    Constructor used to create a Payload (when no more specific subclasses exists) using packet as parameter.
    +
    +
    payload - Variable in class protocolP2P.ProtocolP2PPacket
    +
     
    +
    PAYLOAD_SIZE_POSITION - Static variable in class protocolP2P.Payload
    +
     
    +
    PAYLOAD_START_POSITION - Static variable in class protocolP2P.Payload
    +
     
    +
    pendingTasks - Variable in class clientP2P.ClientDownloadPart
     
    -
    TransmissionError - Exception in exception
    +
    port - Variable in class tools.HostItem
     
    -
    TransmissionError() - Constructor for exception exception.TransmissionError
    +
    PORT_START_POSITION - Static variable in class protocolP2P.RatioResponse
     
    +
    portMax - Variable in class tools.PortRange
    +
     
    +
    portMin - Variable in class tools.PortRange
    +
     
    +
    PortRange - Class in tools
    +
    +
    Test ports.
    +
    +
    PortRange(int, int, int, String) - Constructor for class tools.PortRange
    +
    +
    Port range constructor
    +
    +
    portServer - Variable in class gui.ClientP2PGUI
    +
     
    +
    portTracker - Variable in class gui.ClientP2PGUI
    +
     
    +
    printProgression() - Method in class clientP2P.ClientDownload
    +
    +
    Print progression of the download.
    +
    +
    printUsage(ServerPortRange, TrackerPortRange) - Static method in class clientP2P.ClientP2P
    +
    +
    Print cli usage
    +
    +
    projectName - Variable in class tools.Directories
    +
     
    +
    PROTOCOL_VERSION - Static variable in class protocolP2P.ProtocolP2PPacket
    +
     
    +
    ProtocolError - Exception in localException
    +
     
    +
    ProtocolError() - Constructor for exception localException.ProtocolError
    +
     
    +
    protocolP2P - package protocolP2P
    +
     
    +
    protocolP2P - Variable in class gui.ClientP2PGUI
    +
     
    +
    ProtocolP2PPacket<T extends Payload> - Class in protocolP2P
    +
    +
    Representation of packet.
    +
    +
    ProtocolP2PPacket(T) - Constructor for class protocolP2P.ProtocolP2PPacket
    +
    +
    Constructor with payload parameter (typically used when sending Packet).
    +
    +
    ProtocolP2PPacket(Object) - Constructor for class protocolP2P.ProtocolP2PPacket
    +
    +
    Receive a request, subclasses must overwrite this constructor.
    +
    +
    ProtocolP2PPacket(byte[]) - Constructor for class protocolP2P.ProtocolP2PPacket
    +
    +
    Construct a packet from byte[], subclasses must overwrite this constructor.
    +
    +
    ProtocolP2PPacketTCP<T extends Payload> - Class in protocolP2P
    +
    +
    Representation of packet.
    +
    +
    ProtocolP2PPacketTCP(T) - Constructor for class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Constructor with payload parameter (typically used when sending packet).
    +
    +
    ProtocolP2PPacketTCP(Object) - Constructor for class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Receive Request (typically used from server).
    +
    +
    ProtocolP2PPacketTCP(byte[]) - Constructor for class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Private constructor with packet as byte[] parameter (typically used when receiving Packet response).
    +
    +
    ProtocolP2PPacketUDP<T extends Payload> - Class in protocolP2P
    +
    +
    Representation of packet.
    +
    +
    ProtocolP2PPacketUDP(T) - Constructor for class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Constructor with payload parameter (typically used when sending packet).
    +
    +
    ProtocolP2PPacketUDP(Object) - Constructor for class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Receive Request (typically used from server).
    +
    +
    ProtocolP2PPacketUDP(byte[]) - Constructor for class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Private constructor with packet as byte[] parameter (typically used when receiving Packet response).
    +
    +
    ProtocolRemoteError - Exception in remoteException
    +
     
    +
    ProtocolRemoteError() - Constructor for exception remoteException.ProtocolRemoteError
    +
     
    +
    punisher - Variable in class serverP2P.ServerManagement
    +
     
    +
    punishmentFactor - Static variable in class serverP2P.RatioWatcher
    +
     
    +
    purgeList() - Method in class clientP2P.ClientDownload
    +
    +
    Removes servers not owning the correct file to download from list.
    +
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-16.html b/doc/javadoc/index-files/index-16.html index 0733ced..ae7fa51 100644 --- a/doc/javadoc/index-files/index-16.html +++ b/doc/javadoc/index-files/index-16.html @@ -1,52 +1,37 @@ - + - -V-Index - - + +R-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    V

    +

    R

    -
    valueOf(String) - Static method in enum protocolP2P.CodeType
    +
    ratioDown - Variable in class tracker.TrackerManagement
    +
     
    +
    RatioRequest - Class in protocolP2P
    +
    +
    Representation of payload for ratio request.
    +
    +
    RatioRequest(HostItem) - Constructor for class protocolP2P.RatioRequest
    +
    +
    Constructor with hostItem (typically used by client/server)
    +
    +
    RatioRequest(byte[]) - Constructor for class protocolP2P.RatioRequest
    +
    +
    Constructor (typically used by tracker) with a byte[] parameter containing the Packet received.
    +
    +
    RatioResponse - Class in protocolP2P
    +
    +
    Representation of payload for ratio response.
    +
    +
    RatioResponse(HostItem, long, long) - Constructor for class protocolP2P.RatioResponse
    +
    +
    Constructor with hostItem (typically used by tracker)
    +
    +
    RatioResponse(byte[]) - Constructor for class protocolP2P.RatioResponse
    +
    +
    Constructor (typically used by client/server) with a byte[] parameter containing the Packet received.
    +
    +
    ratioUp - Variable in class tracker.TrackerManagement
    +
     
    +
    ratioUpdater - Variable in class clientP2P.ClientDownload
    +
     
    +
    RatioWatcher - Class in serverP2P
    +
    +
    Class allowing to keep the tracker informed about ratios
    +
    +
    RatioWatcher(Logger, long, HostItem) - Constructor for class serverP2P.RatioWatcher
    +
    +
    Constructor
    +
    +
    ratioWatcher - Variable in class serverP2P.ServerManagement
    +
     
    +
    RatioWatcherTCP - Class in serverP2P
    +
    +
    Class allowing to keep the tracker informed about file list (TCP impl.)
    +
    +
    RatioWatcherTCP(Logger, long, HostItem) - Constructor for class serverP2P.RatioWatcherTCP
    +
    +
    Constructor
    +
    +
    RatioWatcherUDP - Class in serverP2P
    +
    +
    Class allowing to keep the tracker informed about file list (UDP impl.)
    +
    +
    RatioWatcherUDP(Logger, long, HostItem) - Constructor for class serverP2P.RatioWatcherUDP
    +
    +
    Constructor
    +
    +
    readByteArray(byte[], int, int) - Static method in class tools.BytesArrayTools
    +
    +
    Read byte Array to byte Array
    +
    +
    readInt(byte[], int) - Static method in class tools.BytesArrayTools
    +
    +
    Read int from a bytearray
    +
    +
    readInt16Bits(byte[], int) - Static method in class tools.BytesArrayTools
    +
    +
    Read int from a bytearray of 16 bits
    +
    +
    readLock - Variable in class tracker.TrackerManagement
    +
     
    +
    readLong(byte[], int) - Static method in class tools.BytesArrayTools
    +
    +
    Read long from a bytearray
    +
    +
    readString(byte[], int, int) - Static method in class tools.BytesArrayTools
    +
    +
    Read string from byte array
    +
    +
    readString(byte[], int, String) - Static method in class tools.BytesArrayTools
    +
    +
    Read string from byte array
    +
    +
    readStringArray(byte[], int, int, String) - Static method in class tools.BytesArrayTools
    +
    +
    Read string array from byte array starting at start with size parameter.
    +
    +
    reassembleFile() - Method in class clientP2P.ClientDownload
    -
    Returns the enum constant of this type with the specified name.
    +
    Reassemble file from file parts.
    -
    valueOf(String) - Static method in enum protocolP2P.RequestResponseCode
    +
    receivedBytesCount - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    receiveResponse() - Method in class protocolP2P.ProtocolP2PPacket
    +
    +
    Receive a response
    +
    +
    receiveResponse() - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Receive response (typically used by client).
    +
    +
    receiveResponse() - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Receive response (typically used by client).
    +
    +
    Register - Class in protocolP2P
    -
    Returns the enum constant of this type with the specified name.
    +
    Representation of payload for unregister.
    -
    values() - Static method in enum protocolP2P.CodeType
    +
    Register(HostItem) - Constructor for class protocolP2P.Register
    -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    +
    Constructor with hostItem (typically used by client)
    -
    values() - Static method in enum protocolP2P.RequestResponseCode
    +
    Register(byte[]) - Constructor for class protocolP2P.Register
    -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    +
    Constructor (typically used by server) with a byte[] parameter containing the Packet received.
    -
    VERSION_ERROR - protocolP2P.RequestResponseCode
    +
    registerTracker() - Method in class serverP2P.FileWatcher
    +
    +
    Register server on tracker
    +
    +
    registerTracker() - Method in class serverP2P.FileWatcherTCP
    +
    +
    Register server on tracker
    +
    +
    registerTracker() - Method in class serverP2P.FileWatcherUDP
    +
    +
    Register server on tracker
    +
    +
    remoteException - package remoteException
     
    -
    VersionError - Exception in exception
    +
    RemoteException - Exception in exception
     
    -
    VersionError() - Constructor for exception exception.VersionError
    +
    RemoteException() - Constructor for exception exception.RemoteException
     
    -
    VersionRemoteError - Exception in remoteException
    +
    remoteHost - Variable in class protocolP2P.ProtocolP2PPacketUDP
     
    -
    VersionRemoteError() - Constructor for exception remoteException.VersionRemoteError
    +
    reqPart(Long) - Method in class clientP2P.ClientDownloadPart
    +
    +
    Send a request for a specific offset.
    +
    +
    requestResponseCode - Variable in class protocolP2P.Payload
    +
     
    +
    RequestResponseCode - Enum in protocolP2P
    +
    +
    Request/Response code enum.
    +
    +
    RequestResponseCode(CodeType, byte) - Constructor for enum protocolP2P.RequestResponseCode
    +
    +
    Private constructor
    +
    +
    requestSocket - Variable in class protocolP2P.ProtocolP2PPacketTCP
    +
     
    +
    requestSocket - Variable in class protocolP2P.ProtocolP2PPacketUDP
     
    +
    responseSocket - Variable in class protocolP2P.ProtocolP2PPacketTCP
    +
     
    +
    responseSocket - Variable in class protocolP2P.ProtocolP2PPacketUDP
    +
     
    +
    responseSocketAddress - Variable in class protocolP2P.ProtocolP2PPacketUDP
    +
     
    +
    RRCODE_POSITION - Static variable in enum protocolP2P.RequestResponseCode
    +
     
    +
    run() - Method in class clientP2P.ClientDownload
    +
    +
    Runnable implementation
    +
    +
    run() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Runnable implementation
    +
    +
    run() - Method in class clientP2P.ClientInterfaceCLI
    +
    +
    Implementation of Runnable
    +
    +
    run() - Method in class gui.ClientInterfaceGUI
    +
    +
    Implementation of Runnable
    +
    +
    run() - Method in class serverP2P.FileWatcher
    +
    +
    Runnable implementation
    +
    +
    run() - Method in class serverP2P.RatioWatcher
    +
    +
    Runnable implementation
    +
    +
    run() - Method in class serverP2P.ServerManagementTCP.ClientHandler
    +
    +
    Implementation of runnable.
    +
    +
    run() - Method in class serverP2P.ServerManagementTCP
    +
    +
    Implementation of runnable.
    +
    +
    run() - Method in class serverP2P.ServerManagementUDP
    +
    +
    Implementation of runnable.
    +
    +
    run() - Method in class tracker.TrackerManagementTCP.ClientHandler
    +
    +
    Implementation of runnable.
    +
    +
    run() - Method in class tracker.TrackerManagementTCP
    +
    +
    Implementation of runnable.
    +
    +
    run() - Method in class tracker.TrackerManagementUDP
    +
    +
    Implementation of runnable.
    +
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-17.html b/doc/javadoc/index-files/index-17.html index a73e925..f6a12df 100644 --- a/doc/javadoc/index-files/index-17.html +++ b/doc/javadoc/index-files/index-17.html @@ -1,52 +1,37 @@ - + - -W-Index - - + +S-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    W

    +

    S

    -
    write(byte[], int, int) - Static method in class tools.BytesArrayTools
    +
    scanner - Variable in class clientP2P.ClientInterfaceCLI
    +
     
    +
    scanner - Variable in class clientP2P.ClientP2P
    +
     
    +
    searchByExtention(String[], String) - Method in class tools.SearchFile
    +
    +
    search correspondance of a String in a the end of String in an array.
    +
    +
    searchByName(String[], String) - Method in class tools.SearchFile
    +
    +
    search correspondance of a String in a String array.
    +
    +
    SearchFile - Class in tools
    +
    +
    Helper to search for files.
    +
    +
    SearchFile() - Constructor for class tools.SearchFile
    +
     
    +
    send(Socket) - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Send a Packet.
    +
    +
    send(DatagramSocket) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Send a Packet.
    +
    +
    send(DatagramSocket, SocketAddress) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Send a Packet.
    +
    +
    sendEmptyDirectory(T) - Method in class tools.ServeErrors
    +
    +
    Send an empty directory message.
    +
    +
    sendEmptyFile(T) - Method in class tools.ServeErrors
    +
    +
    Send an empty file message.
    +
    +
    sendHashResponse(T) - Method in class serverP2P.ServerManagement
    +
    +
    Send hash response to hash request
    +
    +
    sendInternalError(T) - Method in class tools.ServeErrors
    +
    +
    Send an internal error message.
    +
    +
    sendListResponse(T) - Method in class serverP2P.ServerManagement
    +
    +
    Send response to list request
    +
    +
    sendLoadResponse(T) - Method in class serverP2P.ServerManagement
    +
    +
    Send response to load request
    +
    +
    sendNotATracker(T) - Method in class tools.ServeErrors
    +
    +
    Send a NotATracker error message.
    +
    +
    sendNotFound(T) - Method in class tools.ServeErrors
    +
    +
    Send a not found message.
    +
    +
    sendRatioUpdate() - Method in class clientP2P.ClientDownload
    +
    +
    Send Ratio update to the tracker
    +
    +
    sendRequest(Object) - Method in class protocolP2P.ProtocolP2PPacket
    +
    +
    Send a request
    +
    +
    sendRequest(Object) - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Send a Request throught socket.
    +
    +
    sendRequest(Object) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Send a Request throught socket.
    +
    +
    sendResponse(U) - Method in class protocolP2P.ProtocolP2PPacket
    +
    +
    Send a response
    +
    +
    sendResponse(U) - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Send a Response to a Request (typically used from server).
    +
    +
    sendResponse(U) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Send a Response to a Request (typically used from server).
    +
    +
    sendSizeResponse(T) - Method in class serverP2P.ServerManagement
    +
    +
    Send response to size request
    +
    +
    sendUnknownHost(T) - Method in class tools.ServeErrors
    +
    +
    Send an unknown host message.
    +
    +
    sendUnregisterRequest() - Method in class serverP2P.ServerManagement
    +
    +
    Send unregister request to tracker
    +
    +
    serialVersionUID - Static variable in exception exception.LocalException
    +
     
    +
    serialVersionUID - Static variable in exception exception.RemoteException
    +
     
    +
    serialVersionUID - Static variable in class gui.ArgumentsGen
    +
     
    +
    serialVersionUID - Static variable in class gui.DownloadFileGUI
    +
     
    +
    serialVersionUID - Static variable in class gui.DownloadSelectionGen
    +
     
    +
    serialVersionUID - Static variable in class gui.ErrorFrame
    +
     
    +
    serialVersionUID - Static variable in class gui.MainWindow
    +
     
    +
    serialVersionUID - Static variable in exception localException.InternalError
    +
     
    +
    serialVersionUID - Static variable in exception localException.ProtocolError
    +
     
    +
    serialVersionUID - Static variable in exception localException.SizeError
    +
     
    +
    serialVersionUID - Static variable in exception localException.SocketClosed
    +
     
    +
    serialVersionUID - Static variable in exception localException.TransmissionError
    +
     
    +
    serialVersionUID - Static variable in exception localException.VersionError
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.EmptyDirectory
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.EmptyFile
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.InternalRemoteError
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.NotATracker
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.NotFound
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.ProtocolRemoteError
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.UnknownHost
    +
     
    +
    serialVersionUID - Static variable in exception remoteException.VersionRemoteError
    +
     
    +
    ServeErrors - Class in tools
    +
     
    +
    ServeErrors() - Constructor for class tools.ServeErrors
    +
     
    +
    server - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    server - Variable in class clientP2P.ClientP2P
    +
     
    +
    server - Variable in class gui.ClientP2PGUI
    +
     
    +
    server - Variable in class protocolP2P.UpdateRatio
    +
     
    +
    server - Variable in class serverP2P.FileWatcher
    +
     
    +
    server - Variable in class serverP2P.ServerManagement
    +
     
    +
    server - Variable in class serverP2P.ServerP2P
    +
     
    +
    SERVER_PORT_START_POSITION - Static variable in class protocolP2P.UpdateRatio
    +
     
    +
    ServerManagement - Class in serverP2P
    +
    +
    Implementation of P2P-JAVA-PROJECT VERSION 1.0 protocol.
    +
    +
    ServerManagement(String, HostItem, HostItem, Logger) - Constructor for class serverP2P.ServerManagement
    +
    +
    Constructor
    +
    +
    ServerManagementTCP - Class in serverP2P
    -
    Write int in a bytearray
    +
    Implementation of P2P-JAVA-PROJECT VERSION 1.0 protocol for TCP.
    -
    write(byte[], int, long) - Static method in class tools.BytesArrayTools
    +
    ServerManagementTCP(String, HostItem, HostItem, Logger) - Constructor for class serverP2P.ServerManagementTCP
    -
    Write long in a bytearray
    +
    Constructor for TCP implementation, with baseDirectory and TCPPort parameters.
    +
    ServerManagementTCP.ClientHandler - Class in serverP2P
    +
    +
    Private runnable class allowing to serve one client.
    +
    +
    ServerManagementUDP - Class in serverP2P
    +
    +
    Implementation of P2P-JAVA-PROJECT VERSION 1.0 protocol for UDP.
    +
    +
    ServerManagementUDP(String, HostItem, HostItem, Logger) - Constructor for class serverP2P.ServerManagementUDP
    +
    +
    Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
    +
    +
    serverP2P - package serverP2P
    +
     
    +
    ServerP2P - Class in serverP2P
    +
    +
    Server only implementation + First argument of main method is port listened by the server, and is mandatory.
    +
    +
    ServerP2P(String, int, String, int, boolean) - Constructor for class serverP2P.ServerP2P
    +
    +
    Constructor with portServerstr containing a port number.
    +
    +
    ServerPortRange - Class in tools
    +
     
    +
    ServerPortRange() - Constructor for class tools.ServerPortRange
    +
    +
    Constructor
    +
    +
    setCheckSum(byte[]) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Used to set checksum into packet
    +
    +
    setDataHomeDirectory() - Method in class tools.Directories
    +
    +
    Setter for dataHomeDirectory.
    +
    +
    setFilename(byte[]) - Method in class protocolP2P.FilePart
    +
    +
    Write from Packet into filename.
    +
    +
    setOffset(byte[]) - Method in class protocolP2P.FilePart
    +
    +
    Write from Packet into offset.
    +
    +
    setPartialContent(byte[]) - Method in class protocolP2P.FilePart
    +
    +
    Write from Packet into partialContent.
    +
    +
    setPayloadSize(int, byte[]) - Static method in class protocolP2P.Payload
    +
    +
    Set payload’s size in a Packet.
    +
    +
    setSize() - Method in class clientP2P.ClientDownload
    +
    +
    Set size of file to download.
    +
    +
    setStop() - Method in class clientP2P.ClientDownload
    +
    +
    Asks thread to stop
    +
    +
    setStop() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Asks to stop thread.
    +
    +
    setStop() - Method in class serverP2P.FileWatcher
    +
    +
    Ask the thread to stop
    +
    +
    setStop() - Method in class serverP2P.RatioWatcher
    +
    +
    Ask the thread to stop
    +
    +
    setStop() - Method in class serverP2P.ServerManagement
    +
    +
    Stop the thread
    +
    +
    setStop() - Method in class tracker.TrackerManagement
    +
    +
    Stop the thread
    +
    +
    setThread(Thread) - Method in class serverP2P.FileWatcher
    +
    +
    Set thread
    +
    +
    setThread(Thread) - Method in class serverP2P.RatioWatcher
    +
    +
    Set thread
    +
    +
    sha512 - Variable in class serverP2P.FileWatcher
    +
     
    +
    size - Variable in class clientP2P.ClientDownload
    +
     
    +
    SizeError - Exception in localException
    +
    +
    Used on reception side when size as set in Packet is too big, and we cant store this in a int/long as usual.
    +
    +
    SizeError() - Constructor for exception localException.SizeError
    +
     
    +
    SizeRequest - Class in protocolP2P
    +
    +
    Representation of payload for load request.
    +
    +
    SizeRequest(String) - Constructor for class protocolP2P.SizeRequest
    +
    +
    Constructor (typically used by the client) with a filename parameter.
    +
    +
    SizeRequest(byte[]) - Constructor for class protocolP2P.SizeRequest
    +
    +
    Constructor (typically used by server) with a byte[] parameter containing the Packet received.
    +
    +
    SizeResponse - Class in protocolP2P
    +
    +
    Representation of payload for size response.
    +
    +
    SizeResponse(String, long) - Constructor for class protocolP2P.SizeResponse
    +
    +
    Constructor (typically used by server) with informations about file part to send as parameters.
    +
    +
    SizeResponse(byte[]) - Constructor for class protocolP2P.SizeResponse
    +
    +
    Constructor (typically used by client) with Packet received as parameter.
    +
    +
    smtcp - Variable in class gui.ClientInterfaceGUI
    +
     
    +
    smtcp - Variable in class gui.DownloadFileGUI
    +
     
    +
    smtcp - Variable in class gui.DownloadSelectionGen
    +
     
    +
    smudp - Variable in class gui.ClientInterfaceGUI
    +
     
    +
    smudp - Variable in class gui.DownloadFileGUI
    +
     
    +
    smudp - Variable in class gui.DownloadSelectionGen
    +
     
    +
    socket - Variable in class clientP2P.ClientDownloadPartTCP
    +
     
    +
    socket - Variable in class clientP2P.ClientDownloadPartUDP
    +
     
    +
    socket - Variable in class serverP2P.ServerManagementTCP
    +
     
    +
    socket - Variable in class serverP2P.ServerManagementUDP
    +
     
    +
    socket - Variable in class tracker.TrackerManagementTCP
    +
     
    +
    socket - Variable in class tracker.TrackerManagementUDP
    +
     
    +
    SocketClosed - Exception in localException
    +
     
    +
    SocketClosed() - Constructor for exception localException.SocketClosed
    +
     
    +
    sockList - Variable in class clientP2P.ClientDownload
    +
     
    +
    stop - Variable in class clientP2P.ClientDownload
    +
     
    +
    stop - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    stop - Variable in class serverP2P.FileWatcher
    +
     
    +
    stop - Variable in class serverP2P.RatioWatcher
    +
     
    +
    stop - Variable in class serverP2P.ServerManagement
    +
     
    +
    stop - Variable in class tracker.TrackerManagement
    +
     
    +
    stopTasks() - Method in class clientP2P.ClientDownload
    +
    +
    Stop threads
    +
    +
    subdir - Static variable in class serverP2P.ServerP2P
    +
     
    +
    success - Variable in class clientP2P.ClientDownload
    +
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-18.html b/doc/javadoc/index-files/index-18.html new file mode 100644 index 0000000..aed7833 --- /dev/null +++ b/doc/javadoc/index-files/index-18.html @@ -0,0 +1,320 @@ + + + + + +T-Index + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    A B C D E F G H I J L M N O P R S T U V W  + + +

    T

    +
    +
    tasksDone - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    tasksListsLock - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    tcpSocket - Variable in class tools.HostItem
    +
     
    +
    thread - Variable in class serverP2P.FileWatcher
    +
     
    +
    thread - Variable in class serverP2P.RatioWatcher
    +
     
    +
    time - Variable in class serverP2P.FileWatcher
    +
     
    +
    time - Variable in class serverP2P.RatioWatcher
    +
     
    +
    toDoTasks - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    tools - package tools
    +
     
    +
    toPacket() - Method in class protocolP2P.Denied
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.DiscoverRequest
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.DiscoverResponse
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.FileList
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.FilePart
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.HashRequest
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.HashResponse
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.LoadRequest
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.Payload
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Returns a byte[] containing full packet (typically used when sending packet).
    +
    +
    toPacket() - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Returns a byte[] containing full packet (typically used when sending packet).
    +
    +
    toPacket() - Method in class protocolP2P.RatioRequest
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.RatioResponse
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.Register
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.SizeRequest
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.SizeResponse
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.Unregister
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toPacket() - Method in class protocolP2P.UpdateRatio
    +
    +
    Returns a byte[] containing Packet with padding.
    +
    +
    toString() - Method in class tools.HostItem
    +
    +
    To string
    +
    +
    toString() - Method in class tools.PortRange
    +
    +
    To String
    +
    +
    TOTAL_DOWN_START_POSITION - Static variable in class protocolP2P.RatioResponse
    +
     
    +
    TOTAL_SIZE_POSITION - Static variable in class protocolP2P.SizeResponse
    +
     
    +
    TOTAL_UP_START_POSITION - Static variable in class protocolP2P.RatioResponse
    +
     
    +
    totalDown - Variable in class protocolP2P.RatioResponse
    +
     
    +
    totalSize - Variable in class protocolP2P.SizeResponse
    +
     
    +
    totalUp - Variable in class protocolP2P.RatioResponse
    +
     
    +
    tracker - package tracker
    +
     
    +
    tracker - Variable in class clientP2P.ClientDownload
    +
     
    +
    tracker - Variable in class clientP2P.ClientManagement
    +
     
    +
    tracker - Variable in class clientP2P.ClientP2P
    +
     
    +
    tracker - Variable in class gui.ClientP2PGUI
    +
     
    +
    tracker - Variable in class serverP2P.FileWatcher
    +
     
    +
    tracker - Variable in class serverP2P.RatioWatcher
    +
     
    +
    tracker - Variable in class serverP2P.ServerManagement
    +
     
    +
    tracker - Variable in class serverP2P.ServerP2P
    +
     
    +
    Tracker - Class in tracker
    +
    +
    Tracker implementation + First argument of main method is port listened by the tracker, and is mandatory.
    +
    +
    Tracker(String, int, boolean) - Constructor for class tracker.Tracker
    +
    +
    Constructor with portStr containing a port number.
    +
    +
    tracker - Variable in class tracker.Tracker
    +
     
    +
    tracker - Variable in class tracker.TrackerManagement
    +
     
    +
    TrackerManagement - Class in tracker
    +
    +
    Tracker management implementation
    +
    +
    TrackerManagement(HostItem, Logger) - Constructor for class tracker.TrackerManagement
    +
    +
    Constructor
    +
    +
    TrackerManagementTCP - Class in tracker
    +
    +
    Tracker management implementation with tcp
    +
    +
    TrackerManagementTCP(HostItem, Logger) - Constructor for class tracker.TrackerManagementTCP
    +
    +
    Constructor with port and logger.
    +
    +
    TrackerManagementTCP.ClientHandler - Class in tracker
    +
    +
    Private runnable class allowing to serve one client.
    +
    +
    TrackerManagementUDP - Class in tracker
    +
    +
    Tracker management implementation with udp
    +
    +
    TrackerManagementUDP(HostItem, Logger) - Constructor for class tracker.TrackerManagementUDP
    +
    +
    Constructor with port and logger.
    +
    +
    TrackerPortRange - Class in tools
    +
     
    +
    TrackerPortRange() - Constructor for class tools.TrackerPortRange
    +
    +
    Constructor
    +
    +
    TransmissionError - Exception in localException
    +
     
    +
    TransmissionError() - Constructor for exception localException.TransmissionError
    +
     
    +
    trigger() - Method in class serverP2P.FileWatcher
    +
    +
    Allow a manual check
    +
    +
    tryGetTCPSocket() - Method in class tools.HostItem
    +
    +
    Get TCP Socket.
    +
    +
    tryGetUDPSocket() - Method in class tools.HostItem
    +
    +
    Get UDP Socket.
    +
    +
    type - Variable in class tools.PortRange
    +
     
    +
    +A B C D E F G H I J L M N O P R S T U V W 
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/index-files/index-19.html b/doc/javadoc/index-files/index-19.html new file mode 100644 index 0000000..31f917e --- /dev/null +++ b/doc/javadoc/index-files/index-19.html @@ -0,0 +1,165 @@ + + + + + +U-Index + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    A B C D E F G H I J L M N O P R S T U V W  + + +

    U

    +
    +
    udpSocket - Variable in class tools.HostItem
    +
     
    +
    UnknownHost - Exception in remoteException
    +
     
    +
    UnknownHost() - Constructor for exception remoteException.UnknownHost
    +
     
    +
    Unregister - Class in protocolP2P
    +
    +
    Representation of payload for unregister.
    +
    +
    Unregister(HostItem) - Constructor for class protocolP2P.Unregister
    +
    +
    Constructor with hostItem (typically used by client)
    +
    +
    Unregister(byte[]) - Constructor for class protocolP2P.Unregister
    +
    +
    Constructor (typically used by server) with a byte[] parameter containing the Packet received.
    +
    +
    updateFileList() - Method in class serverP2P.FileWatcher
    +
    +
    Update fileList and returns true if different than old list.
    +
    +
    updateFileList() - Method in class serverP2P.ServerManagement
    +
    +
    Trigger a manual check of the file list
    +
    +
    UpdateRatio - Class in protocolP2P
    +
    +
    Representation of payload for update ratio.
    +
    +
    UpdateRatio(HostItem, HostItem, long) - Constructor for class protocolP2P.UpdateRatio
    +
    +
    Constructor with hostItem (typically used by client)
    +
    +
    UpdateRatio(byte[]) - Constructor for class protocolP2P.UpdateRatio
    +
    +
    Constructor (typically used by tracker) with a byte[] parameter containing the Packet received.
    +
    +
    +A B C D E F G H I J L M N O P R S T U V W 
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/index-files/index-2.html b/doc/javadoc/index-files/index-2.html index 65a9188..6b2593b 100644 --- a/doc/javadoc/index-files/index-2.html +++ b/doc/javadoc/index-files/index-2.html @@ -1,22 +1,12 @@ - + - + B-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    B

    +
    baseDirectory - Variable in class clientP2P.ClientManagement
    +
     
    +
    baseDirectory - Variable in class serverP2P.FileWatcher
    +
     
    +
    baseDirectory - Variable in class serverP2P.ServerManagement
    +
     
    +
    BY_CODE - Static variable in enum protocolP2P.RequestResponseCode
    +
     
    +
    BY_NAME - Static variable in enum protocolP2P.HashAlgorithm
    +
     
    BytesArrayTools - Class in tools
    Helper to manipulate byte[].
    -
    BytesArrayTools() - Constructor for class tools.BytesArrayTools
    +
    BytesArrayTools() - Constructor for class tools.BytesArrayTools
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-20.html b/doc/javadoc/index-files/index-20.html new file mode 100644 index 0000000..c4d5d68 --- /dev/null +++ b/doc/javadoc/index-files/index-20.html @@ -0,0 +1,175 @@ + + + + + +V-Index + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    A B C D E F G H I J L M N O P R S T U V W  + + +

    V

    +
    +
    valueOf(String) - Static method in enum protocolP2P.CodeType
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in enum protocolP2P.HashAlgorithm
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in enum protocolP2P.RequestResponseCode
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in enum tools.LogLevel
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    values() - Static method in enum protocolP2P.CodeType
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Static method in enum protocolP2P.HashAlgorithm
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Static method in enum protocolP2P.RequestResponseCode
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Static method in enum tools.LogLevel
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    version - Variable in class protocolP2P.ProtocolP2PPacket
    +
     
    +
    VERSION_POSITION - Static variable in class protocolP2P.ProtocolP2PPacket
    +
     
    +
    VersionError - Exception in localException
    +
     
    +
    VersionError() - Constructor for exception localException.VersionError
    +
     
    +
    VersionRemoteError - Exception in remoteException
    +
     
    +
    VersionRemoteError() - Constructor for exception remoteException.VersionRemoteError
    +
     
    +
    +A B C D E F G H I J L M N O P R S T U V W 
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/index-files/index-21.html b/doc/javadoc/index-files/index-21.html new file mode 100644 index 0000000..e3f9bdc --- /dev/null +++ b/doc/javadoc/index-files/index-21.html @@ -0,0 +1,329 @@ + + + + + +W-Index + + + + + + + + +
    + + +
    Skip navigation links
    + + + + +
    + + +
    A B C D E F G H I J L M N O P R S T U V W  + + +

    W

    +
    +
    write(byte[], int, int) - Static method in class tools.BytesArrayTools
    +
    +
    Write int in a bytearray
    +
    +
    write(byte[], int, long) - Static method in class tools.BytesArrayTools
    +
    +
    Write long in a bytearray
    +
    +
    write(byte[], String[], int, String) - Static method in class tools.BytesArrayTools
    +
    +
    Write a list of string to a byte array.
    +
    +
    write(byte[], String, int) - Static method in class tools.BytesArrayTools
    +
    +
    Write a string to a byte array.
    +
    +
    write(byte[], byte[], int) - Static method in class tools.BytesArrayTools
    +
    +
    Write byte Array to byte Array.
    +
    +
    write(String, LogLevel) - Method in class tools.Logger
    +
    +
    Appends log to filelog and print to stderr.
    +
    +
    write(Exception, LogLevel) - Method in class tools.Logger
    +
    +
    Appends log to filelog and print to stderr.
    +
    +
    write16Bits(byte[], int, int) - Static method in class tools.BytesArrayTools
    +
    +
    Write int in a bytearray 16 bits version
    +
    +
    writeLock - Variable in class tracker.TrackerManagement
    +
     
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientDownloadPartTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientDownloadPartTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientDownloadPartUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientDownloadPartUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientDownloadTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientDownloadTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientDownloadUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientDownloadUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientInterface
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientInterface
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientManagement
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientManagement
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientManagementTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientManagementTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class clientP2P.ClientManagementUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class clientP2P.ClientManagementUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.FileWatcher
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.FileWatcher
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.FileWatcherTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.FileWatcherTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.FileWatcherUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.FileWatcherUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.RatioWatcher
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.RatioWatcher
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.RatioWatcherTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.RatioWatcherTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.RatioWatcherUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.RatioWatcherUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.ServerManagementTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.ServerManagementTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class serverP2P.ServerManagementUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class serverP2P.ServerManagementUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class tools.ServeErrors
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class tools.ServeErrors
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class tracker.TrackerManagementTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class tracker.TrackerManagementTCP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(String, LogLevel) - Method in class tracker.TrackerManagementUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeLog(Exception, LogLevel) - Method in class tracker.TrackerManagementUDP
    +
    +
    Implementation of writeLog
    +
    +
    writeTCP(String, LogLevel) - Method in class tools.Logger
    +
    +
    Appends log to filelog and print to stderr.
    +
    +
    writeTCP(Exception, LogLevel) - Method in class tools.Logger
    +
    +
    Appends log to filelog and print to stderr.
    +
    +
    writeUDP(String, LogLevel) - Method in class tools.Logger
    +
    +
    Appends log to filelog and print to stderr.
    +
    +
    writeUDP(Exception, LogLevel) - Method in class tools.Logger
    +
    +
    Appends log to filelog and print to stderr.
    +
    +
    +A B C D E F G H I J L M N O P R S T U V W 
    + +
    + + +
    Skip navigation links
    + + + + +
    + + + + diff --git a/doc/javadoc/index-files/index-3.html b/doc/javadoc/index-files/index-3.html index 98313f2..58f29e4 100644 --- a/doc/javadoc/index-files/index-3.html +++ b/doc/javadoc/index-files/index-3.html @@ -1,22 +1,12 @@ - + - + C-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    C

    +
    cachePunishmentProbability - Variable in class serverP2P.RatioWatcher
    +
     
    +
    checkCheckSum(byte[]) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Used to check if the checksum is correct
    +
    +
    checkProtocolVersion() - Method in class protocolP2P.ProtocolP2PPacket
    +
    +
    Used to check protocol version when a Packet is constructed from bytes[].
    +
    +
    checkRequestResponseCode() - Method in class protocolP2P.Payload
    +
    +
    Used to check RRCode used is compatible with this class use, or if a more specific subclass is required.
    +
    +
    CHECKSUM_POSITION - Static variable in class protocolP2P.ProtocolP2PPacketUDP
    +
     
    +
    checkTasksStatus() - Method in class clientP2P.ClientDownload
    +
    +
    Remove tasks from failed threads.
    +
    +
    clean() - Method in class serverP2P.RatioWatcher
    +
    +
    Invalidate the cache by cleaning all hashmaps
    +
    +
    cleanStrings(String) - Static method in class tools.BytesArrayTools
    +
    +
    Remove trailing null bytes from string.
    +
    +
    client - Variable in class clientP2P.ClientDownload
    +
     
    +
    client - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    client - Variable in class clientP2P.ClientManagement
    +
     
    +
    client - Variable in class protocolP2P.UpdateRatio
    +
     
    +
    CLIENT_PORT_START_POSITION - Static variable in class protocolP2P.UpdateRatio
    +
     
    +
    ClientDownload - Class in clientP2P
    +
    +
    Class to download file
    +
    +
    ClientDownload(String, List<HostItem>, String, String, Logger, HostItem, HostItem) - Constructor for class clientP2P.ClientDownload
    +
    +
    Constructor with parameters: filename, list of hosts, parts subdirectory and dirStorage
    +
    +
    ClientDownloadPart - Class in clientP2P
    +
    +
    Class to download file parts.
    +
    +
    ClientDownloadPart(ClientDownload, String, String, Logger, HostItem, HostItem) - Constructor for class clientP2P.ClientDownloadPart
    +
    +
    Constructor with filename, socket, and part subdir
    +
    +
    ClientDownloadPartTCP - Class in clientP2P
    +
    +
    Class to download file parts on tcp.
    +
    +
    ClientDownloadPartTCP(ClientDownload, String, Socket, String, Logger, HostItem, HostItem) - Constructor for class clientP2P.ClientDownloadPartTCP
    +
    +
    Constructor with filename, socket, and part subdir
    +
    +
    ClientDownloadPartUDP - Class in clientP2P
    +
    +
    Class to download file parts on udp.
    +
    +
    ClientDownloadPartUDP(ClientDownload, String, DatagramSocket, String, Logger, HostItem, HostItem) - Constructor for class clientP2P.ClientDownloadPartUDP
    +
    +
    Constructor with filename, socket, and part subdir
    +
    +
    ClientDownloadTCP - Class in clientP2P
    +
    +
    Class to download file from tcp
    +
    +
    ClientDownloadTCP(String, List<HostItem>, String, String, Logger, HostItem, HostItem) - Constructor for class clientP2P.ClientDownloadTCP
    +
    +
    Constructor with parameters: filename, list of hosts, parts subdirectory and dirStorage
    +
    +
    ClientDownloadUDP - Class in clientP2P
    +
    +
    Class to download file from udp
    +
    +
    ClientDownloadUDP(String, List<HostItem>, String, String, Logger, HostItem, HostItem) - Constructor for class clientP2P.ClientDownloadUDP
    +
    +
    Constructor with parameters: filename, list of hosts, parts subdirectory and dirStorage
    +
    +
    ClientHandler(Socket) - Constructor for class serverP2P.ServerManagementTCP.ClientHandler
    +
    +
    Constructor with a socket.
    +
    +
    ClientHandler(Socket) - Constructor for class tracker.TrackerManagementTCP.ClientHandler
    +
    +
    Constructor with a socket.
    +
    +
    ClientInterface - Class in clientP2P
    +
    +
    Implementation of P2P-JAVA-PROJECT CLIENT interface
    +
    +
    ClientInterface(ClientManagement, Logger) - Constructor for class clientP2P.ClientInterface
    +
    +
    Constructor with clientManagement and logger.
    +
    +
    ClientInterfaceCLI - Class in clientP2P
    +
    +
    Implementation of P2P-JAVA-PROJECT CLIENT interface for CLI
    +
    +
    ClientInterfaceCLI(ClientManagement, Logger, Scanner) - Constructor for class clientP2P.ClientInterfaceCLI
    +
    +
    Constructor with clientManagement, logger and scanner.
    +
    +
    ClientInterfaceGUI - Class in gui
    +
    +
    Implementation of P2P-JAVA-PROJECT CLIENT interface for CLI
    +
    +
    ClientInterfaceGUI(ClientManagement, Logger, ServerManagementTCP, ServerManagementUDP) - Constructor for class gui.ClientInterfaceGUI
    +
     
    +
    clientManagement - Variable in class clientP2P.ClientInterface
    +
     
    +
    ClientManagement - Class in clientP2P
    +
    +
    Implementation of P2P-JAVA-PROJECT CLIENT
    +
    +
    ClientManagement(String, HostItem, String, Logger, HostItem) - Constructor for class clientP2P.ClientManagement
    +
    +
    Constructor with baseDirectory, tracker, partsSubdir, logger, and scanner parameters.
    +
    +
    clientManagement - Variable in class gui.DownloadFileGUI
    +
     
    +
    clientManagement - Variable in class gui.DownloadSelectionGen
    +
     
    +
    ClientManagementTCP - Class in clientP2P
    +
    +
    Implementation of P2P-JAVA-PROJECT CLIENT
    +
    +
    ClientManagementTCP(String, HostItem, String, Logger, HostItem) - Constructor for class clientP2P.ClientManagementTCP
    +
    +
    Constructor for TCP implementation, with baseDirectory, tracker, partsSubdir, logger, and scanner parameters.
    +
    ClientManagementUDP - Class in clientP2P
    Implementation of P2P-JAVA-PROJECT CLIENT
    -
    ClientManagementUDP(String, String, int) - Constructor for class clientP2P.ClientManagementUDP
    +
    ClientManagementUDP(String, HostItem, String, Logger, HostItem) - Constructor for class clientP2P.ClientManagementUDP
    -
    Constructor for UDP implementation, with baseDirectory and UDPPort parameters.
    +
    Constructor for UDP implementation, with baseDirectory, tracker, partsSubdir, logger and scanner parameters.
    clientP2P - package clientP2P
     
    ClientP2P - Class in clientP2P
    -
     
    -
    ClientP2P() - Constructor for class clientP2P.ClientP2P
    -
     
    -
    codeType - Variable in enum protocolP2P.RequestResponseCode
    -
     
    +
    +
    Client + Server implementation.
    +
    +
    ClientP2P(String, int, String, int) - Constructor for class clientP2P.ClientP2P
    +
    +
    Constructor.
    +
    +
    ClientP2PGUI - Class in gui
    +
    +
    Client + Server implementation in GUI
    +
    +
    ClientP2PGUI(String, int, String, int, String) - Constructor for class gui.ClientP2PGUI
    +
    +
    Constructor.
    +
    +
    closeHostItemSocket(HostItem) - Method in class clientP2P.ClientDownload
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class clientP2P.ClientDownloadTCP
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class clientP2P.ClientDownloadUDP
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class clientP2P.ClientManagement
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class clientP2P.ClientManagementTCP
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class clientP2P.ClientManagementUDP
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class tracker.TrackerManagement
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class tracker.TrackerManagementTCP
    +
    +
    Close HostItem socket
    +
    +
    closeHostItemSocket(HostItem) - Method in class tracker.TrackerManagementUDP
    +
    +
    Close HostItem socket
    +
    +
    closeSocket() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Close the socket
    +
    +
    closeSocket() - Method in class clientP2P.ClientDownloadPartTCP
    +
    +
    Close the socket
    +
    +
    closeSocket() - Method in class clientP2P.ClientDownloadPartUDP
    +
    +
    Close the socket
    +
    +
    closeSocket() - Method in class serverP2P.ServerManagement
    +
    +
    Closes socket
    +
    +
    closeSocket() - Method in class serverP2P.ServerManagementTCP
    +
    +
    Closes socket
    +
    +
    closeSocket() - Method in class serverP2P.ServerManagementUDP
    +
    +
    Closes socket
    +
    +
    closeTCPSocket() - Method in class tools.HostItem
    +
    +
    Closes tcp socket
    +
    +
    closeTrackerSocket() - Method in class clientP2P.ClientManagement
    +
    +
    Close Tracker socket
    +
    +
    closeTrackerSocket() - Method in class clientP2P.ClientManagementTCP
    +
    +
    Close Tracker socket
    +
    +
    closeTrackerSocket() - Method in class clientP2P.ClientManagementUDP
    +
    +
    Close Tracker socket
    +
    +
    closeTrackerSocket() - Method in class serverP2P.RatioWatcher
    +
    +
    Closes tracker socket
    +
    +
    closeTrackerSocket() - Method in class serverP2P.RatioWatcherTCP
    +
    +
    Closes tracker socket
    +
    +
    closeTrackerSocket() - Method in class serverP2P.RatioWatcherUDP
    +
    +
    Closes tracker socket
    +
    +
    closeUDPSocket() - Method in class tools.HostItem
    +
    +
    Closes udp socket
    +
    CodeType - Enum in protocolP2P
    Request/Response code's type enum.
    +
    CodeType() - Constructor for enum protocolP2P.CodeType
    +
     
    +
    codeType - Variable in enum protocolP2P.RequestResponseCode
    +
     
    codeValue - Variable in enum protocolP2P.RequestResponseCode
     
    +
    computeCheckSum(byte[]) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Compute checksum associated to packet.
    +
    +
    computeHashsum(String, HashAlgorithm) - Method in class clientP2P.ClientManagement
    +
    +
    Compute Hashsum of a file.
    +
    +
    computeStringArraySize(String[], String) - Static method in class tools.BytesArrayTools
    +
    +
    Compute size of string array once converted to byte array with separator
    +
    +
    connect() - Method in class gui.ClientP2PGUI
    +
    +
    Initiate a connection using fields from ArgumentsGen
    +
    +
    constructPacket(byte[]) - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Private constructor helper with packet as byte[] parameter (typically used when receiving Packet response/request).
    +
    +
    constructPacket(byte[], Socket) - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Private constructor helper with packet as byte[] parameter and (typically used when receiving Packet request).
    +
    +
    constructPacket(byte[]) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Private constructor helper with packet as byte[] parameter (typically used when receiving Packet response/request).
    +
    +
    constructPacket(byte[], DatagramSocket) - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Private constructor helper with packet as byte[] parameter and (typically used when receiving Packet request).
    +
    +
    createDownloadPart(HostItem) - Method in class clientP2P.ClientDownload
    +
    +
    Create a clientDownloadPart
    +
    +
    createDownloadPart(HostItem) - Method in class clientP2P.ClientDownloadTCP
    +
    +
    Create a clientDownloadPart
    +
    +
    createDownloadPart(HostItem) - Method in class clientP2P.ClientDownloadUDP
    +
    +
    Create a clientDownloadPart
    +
    +
    createProtocolP2PPacket(T) - Method in class clientP2P.ClientDownloadPartTCP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class clientP2P.ClientDownloadPartUDP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class clientP2P.ClientDownloadTCP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class clientP2P.ClientDownloadUDP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class clientP2P.ClientManagementTCP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class clientP2P.ClientManagementUDP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class serverP2P.RatioWatcher
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class serverP2P.RatioWatcherTCP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class serverP2P.RatioWatcherUDP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class serverP2P.ServerManagementTCP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class serverP2P.ServerManagementUDP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class tools.ServeErrors
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class tracker.TrackerManagementTCP
    +
    +
    Create packets
    +
    +
    createProtocolP2PPacket(T) - Method in class tracker.TrackerManagementUDP
    +
    +
    Create packets
    +
    +
    createSubdir(String) - Method in class tools.Directories
    +
    +
    Create a subdirectory.
    +
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-4.html b/doc/javadoc/index-files/index-4.html index a50f3ff..4700f94 100644 --- a/doc/javadoc/index-files/index-4.html +++ b/doc/javadoc/index-files/index-4.html @@ -1,22 +1,12 @@ - + - + D-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    D

    +
    DATA_SIZE_POSITION - Static variable in class protocolP2P.UpdateRatio
    +
     
    +
    dataHomeDirectory - Variable in class tools.Directories
    +
     
    +
    dataSize - Variable in class protocolP2P.UpdateRatio
    +
     
    +
    DEBUG - Static variable in class clientP2P.ClientP2P
    +
     
    +
    DEBUG - Static variable in class gui.ClientP2PGUI
    +
     
    +
    DEBUG - Static variable in class serverP2P.ServerP2P
    +
     
    +
    DEBUG - Static variable in class tracker.Tracker
    +
     
    +
    debugMode - Variable in class tools.Logger
    +
     
    +
    defaultPort - Variable in class tools.PortRange
    +
     
    +
    Denied - Class in protocolP2P
    +
    +
    Representation of payload for denied response.
    +
    +
    Denied(String, long) - Constructor for class protocolP2P.Denied
    +
    +
    Constructor (typically used by server) with informations about file part to send as parameters.
    +
    +
    Denied(byte[]) - Constructor for class protocolP2P.Denied
    +
    +
    Constructor (typically used by client) with Packet received as parameter.
    +
    +
    DIFF_PERCENT_PROGRESS - Static variable in class clientP2P.ClientDownload
    +
     
    +
    DIFF_TIME_PROGRESS_MILLIS - Static variable in class clientP2P.ClientDownload
    +
     
    +
    directories - Variable in class clientP2P.ClientP2P
    +
     
    +
    directories - Variable in class gui.ClientP2PGUI
    +
     
    +
    directories - Variable in class serverP2P.ServerP2P
    +
     
    Directories - Class in tools
    Helper to get application directories.
    -
    Directories(String) - Constructor for class tools.Directories
    +
    Directories(String) - Constructor for class tools.Directories
    Constructor with projectName parameter.
    +
    directories - Variable in class tracker.Tracker
    +
     
    +
    dirStorage - Variable in class clientP2P.ClientDownload
    +
     
    +
    DiscoverRequest - Class in protocolP2P
    +
    +
    Representation of payload for discover request.
    +
    +
    DiscoverRequest(String) - Constructor for class protocolP2P.DiscoverRequest
    +
    +
    Constructor with filename (typically used by client).
    +
    +
    DiscoverRequest(byte[]) - Constructor for class protocolP2P.DiscoverRequest
    +
    +
    Constructor (typically used by server) with a byte[] parameter containing the Packet received.
    +
    +
    DiscoverResponse - Class in protocolP2P
    +
    +
    Representation of payload for discover response.
    +
    +
    DiscoverResponse(String, List<HostItem>) - Constructor for class protocolP2P.DiscoverResponse
    +
    +
    Constructor with filename (typically used by tracker).
    +
    +
    DiscoverResponse(byte[]) - Constructor for class protocolP2P.DiscoverResponse
    +
    +
    Constructor (typically used by server) with a byte[] parameter containing the Packet received.
    +
    +
    doTasks() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Send one request and wait for one response.
    +
    +
    download(String) - Method in class clientP2P.ClientManagement
    +
    +
    Try to download a file
    +
    +
    download() - Method in class gui.DownloadFileGUI
    +
     
    +
    downLoader - Variable in class clientP2P.ClientManagement
    +
     
    +
    DownloadFileGUI - Class in gui
    +
     
    +
    DownloadFileGUI(String, ClientManagement, Logger, ServerManagementTCP, ServerManagementUDP) - Constructor for class gui.DownloadFileGUI
    +
     
    +
    downloadPart(T) - Method in class clientP2P.ClientDownloadPart
    +
    +
    Download file part associated to the request send (d).
    +
    +
    DownloadSelectionGen - Class in gui
    +
     
    +
    DownloadSelectionGen(String[], ClientManagement, Logger, ServerManagementTCP, ServerManagementUDP) - Constructor for class gui.DownloadSelectionGen
    +
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-5.html b/doc/javadoc/index-files/index-5.html index 94c2a2f..a0bf8df 100644 --- a/doc/javadoc/index-files/index-5.html +++ b/doc/javadoc/index-files/index-5.html @@ -1,22 +1,12 @@ - + - + E-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    E

    -
    EMPTY_DIRECTORY - protocolP2P.RequestResponseCode
    -
     
    -
    EMPTY_FILE - protocolP2P.RequestResponseCode
    -
     
    EmptyDirectory - Exception in remoteException
     
    -
    EmptyDirectory() - Constructor for exception remoteException.EmptyDirectory
    +
    EmptyDirectory() - Constructor for exception remoteException.EmptyDirectory
     
    EmptyFile - Exception in remoteException
     
    -
    EmptyFile() - Constructor for exception remoteException.EmptyFile
    +
    EmptyFile() - Constructor for exception remoteException.EmptyFile
     
    -
    ERROR - protocolP2P.CodeType
    +
    equals(Object) - Method in class tools.HostItem
    +
    +
    Override of equals method
    +
    +
    ErrorFrame - Class in gui
    +
     
    +
    ErrorFrame(String) - Constructor for class gui.ErrorFrame
     
    exception - package exception
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-6.html b/doc/javadoc/index-files/index-6.html index 94e5e20..8993650 100644 --- a/doc/javadoc/index-files/index-6.html +++ b/doc/javadoc/index-files/index-6.html @@ -1,22 +1,12 @@ - + - + F-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    F

    +
    failed - Variable in class clientP2P.ClientDownloadPart
    +
     
    FileList - Class in protocolP2P
    Representation of payload for list response.
    -
    FileList(String[]) - Constructor for class protocolP2P.FileList
    +
    FileList(String[]) - Constructor for class protocolP2P.FileList
    Constructor (typically used by the server) with an ArrayList parameter containing filenames.
    +
    FileList(byte[]) - Constructor for class protocolP2P.FileList
    +
    +
    Constructor (typically used by client) with a byte[] parameter containing the Packet received.
    +
    +
    fileList - Variable in class protocolP2P.FileList
    +
     
    +
    fileList - Variable in class serverP2P.FileWatcher
    +
     
    +
    fileList - Variable in class tracker.TrackerManagement
    +
     
    +
    fileListWatcher - Variable in class serverP2P.ServerManagement
    +
     
    +
    filename - Variable in class clientP2P.ClientDownload
    +
     
    +
    filename - Variable in class clientP2P.ClientDownloadPart
    +
     
    +
    filename - Variable in class protocolP2P.Denied
    +
     
    +
    filename - Variable in class protocolP2P.DiscoverRequest
    +
     
    +
    filename - Variable in class protocolP2P.DiscoverResponse
    +
     
    +
    filename - Variable in class protocolP2P.FilePart
    +
     
    +
    filename - Variable in class protocolP2P.HashRequest
    +
     
    +
    filename - Variable in class protocolP2P.HashResponse
    +
     
    +
    filename - Variable in class protocolP2P.LoadRequest
    +
     
    +
    filename - Variable in class protocolP2P.SizeRequest
    +
     
    +
    filename - Variable in class protocolP2P.SizeResponse
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.Denied
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.DiscoverResponse
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.FilePart
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.HashRequest
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.HashResponse
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.LoadRequest
    +
     
    +
    FILENAME_POSITION - Static variable in class protocolP2P.SizeResponse
    +
     
    +
    FILENAME_SIZE_POSITION - Static variable in class protocolP2P.DiscoverResponse
    +
     
    +
    FILENAME_SIZE_POSITION - Static variable in class protocolP2P.FilePart
    +
     
    +
    FILENAME_SIZE_POSITION - Static variable in class protocolP2P.HashRequest
    +
     
    +
    FILENAME_SIZE_POSITION - Static variable in class protocolP2P.HashResponse
    +
     
    +
    FILENAME_SIZE_POSITION - Static variable in class protocolP2P.LoadRequest
    +
     
    FilePart - Class in protocolP2P
    Representation of payload for load response.
    -
    FilePart(String, long, long, byte[]) - Constructor for class protocolP2P.FilePart
    +
    FilePart(String, long, byte[]) - Constructor for class protocolP2P.FilePart
    Constructor (typically used by server) with informations about file part to send as parameters.
    +
    FilePart(byte[]) - Constructor for class protocolP2P.FilePart
    +
    +
    Constructor (typically used by client) with Packet received as parameter.
    +
    +
    fileSize - Variable in class tracker.TrackerManagement
    +
     
    +
    fileToDownload - Variable in class gui.DownloadFileGUI
    +
     
    +
    FileWatcher - Class in serverP2P
    +
    +
    Class allowing to keep the tracker informed about file list
    +
    +
    FileWatcher(Logger, long, HostItem, HostItem, String) - Constructor for class serverP2P.FileWatcher
    +
    +
    Constructor
    +
    +
    FileWatcherTCP - Class in serverP2P
    +
    +
    Class allowing to keep the tracker informed about file list (TCP impl.)
    +
    +
    FileWatcherTCP(Logger, long, HostItem, HostItem, String) - Constructor for class serverP2P.FileWatcherTCP
    +
    +
    Constructor
    +
    +
    FileWatcherUDP - Class in serverP2P
    +
    +
    Class allowing to keep the tracker informed about file list (UDP impl.)
    +
    +
    FileWatcherUDP(Logger, long, HostItem, HostItem, String) - Constructor for class serverP2P.FileWatcherUDP
    +
    +
    Constructor
    +
    +
    force - Variable in class serverP2P.FileWatcher
    +
     
    +
    force - Variable in class serverP2P.RatioWatcher
    +
     
    +
    fromCode(byte) - Static method in enum protocolP2P.RequestResponseCode
    +
    +
    Gives enum from Packet code.
    +
    +
    fromName(String) - Static method in enum protocolP2P.HashAlgorithm
    +
    +
    Gives enum from name.
    +
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-7.html b/doc/javadoc/index-files/index-7.html index bdcccea..9372fab 100644 --- a/doc/javadoc/index-files/index-7.html +++ b/doc/javadoc/index-files/index-7.html @@ -1,22 +1,12 @@ - + - + G-Index - - + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W 

    G

    -
    getDataHomeDirectory() - Method in class tools.Directories
    +
    getAlgoList() - Method in class protocolP2P.HashRequest
    +
    +
    AlgoList getter.
    +
    +
    getClient() - Method in class protocolP2P.UpdateRatio
    +
    +
    Client getter.
    +
    +
    getDataHomeDirectory() - Method in class tools.Directories
    Getter for dataHomeDirectory.
    -
    getFileList() - Method in class protocolP2P.FileList
    +
    getDataSize() - Method in class protocolP2P.UpdateRatio
    +
    +
    dataSize getter.
    +
    +
    getDefaultPort() - Method in class tools.PortRange
    +
    +
    Default port getter
    +
    +
    getDone() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Get list of downloaded file parts offset, then clear this list.
    +
    +
    getFailed() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Get list of offsets that have not be downloaded if failed, else + empty list.
    +
    +
    getFileList() - Method in class protocolP2P.FileList
    fileList getter.
    -
    getFilename() - Method in class protocolP2P.FilePart
    +
    getFileList() - Method in class serverP2P.FileWatcher
    +
    +
    FileList getter
    +
    +
    getFilename() - Method in class protocolP2P.Denied
    filename getter.
    -
    getFilename() - Method in class protocolP2P.LoadRequest
    +
    getFilename() - Method in class protocolP2P.DiscoverRequest
    +
    +
    Filename getter.
    +
    +
    getFilename() - Method in class protocolP2P.DiscoverResponse
    +
    +
    Filename getter.
    +
    +
    getFilename() - Method in class protocolP2P.FilePart
    filename getter.
    -
    getOffset() - Method in class protocolP2P.FilePart
    +
    getFilename() - Method in class protocolP2P.HashRequest
    +
    +
    Filename getter.
    +
    +
    getFilename() - Method in class protocolP2P.HashResponse
    +
    +
    filename getter.
    +
    +
    getFilename() - Method in class protocolP2P.LoadRequest
    +
    +
    filename getter.
    +
    +
    getFilename() - Method in class protocolP2P.SizeRequest
    +
    +
    filename getter.
    +
    +
    getFilename() - Method in class protocolP2P.SizeResponse
    +
    +
    filename getter.
    +
    +
    getFilenameSize(byte[]) - Method in class protocolP2P.FilePart
    +
    +
    Read filename’s size from Packet.
    +
    +
    getHash(HashAlgorithm) - Method in class protocolP2P.HashResponse
    +
    +
    hash getter
    +
    +
    getHashSum512() - Method in class clientP2P.ClientDownload
    +
    +
    Getter for hash512sum
    +
    +
    getHashSum512(HostItem) - Method in class clientP2P.ClientDownload
    +
    +
    Get hashsum from server.
    +
    +
    getHostItem() - Method in class protocolP2P.LoadRequest
    +
    +
    hostItem getter.
    +
    +
    getHostItem() - Method in class protocolP2P.ProtocolP2PPacket
    +
    +
    Get hostItem of the sender
    +
    +
    getHostItem() - Method in class protocolP2P.ProtocolP2PPacketTCP
    +
    +
    Get hostItem of the sender
    +
    +
    getHostItem() - Method in class protocolP2P.ProtocolP2PPacketUDP
    +
    +
    Get hostItem of the sender
    +
    +
    getHostItem() - Method in class protocolP2P.RatioRequest
    +
    +
    HostItem getter.
    +
    +
    getHostItem() - Method in class protocolP2P.RatioResponse
    +
    +
    HostItem getter.
    +
    +
    getHostItem() - Method in class protocolP2P.Register
    +
    +
    HostItem getter.
    +
    +
    getHostItem() - Method in class protocolP2P.Unregister
    +
    +
    HostItem getter.
    +
    +
    getHostItemSocket(HostItem) - Method in class clientP2P.ClientDownload
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class clientP2P.ClientDownloadTCP
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class clientP2P.ClientDownloadUDP
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class clientP2P.ClientManagement
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class clientP2P.ClientManagementTCP
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class clientP2P.ClientManagementUDP
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class tracker.TrackerManagement
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class tracker.TrackerManagementTCP
    +
    +
    Getter for HostItem socket
    +
    +
    getHostItemSocket(HostItem) - Method in class tracker.TrackerManagementUDP
    +
    +
    Getter for HostItem socket
    +
    +
    getHostList() - Method in class protocolP2P.DiscoverResponse
    +
    +
    HostList getter.
    +
    +
    getHostname() - Method in class tools.HostItem
    +
    +
    Getter for hostname
    +
    +
    getInetAddress() - Method in class tools.HostItem
    +
    +
    Get InetAddress associated to this HostItem.
    +
    +
    getMaxSizePartialContent() - Method in class protocolP2P.LoadRequest
    +
    +
    maxSizePartialContent getter.
    +
    +
    getName() - Method in enum protocolP2P.HashAlgorithm
    +
     
    +
    getOffset() - Method in class protocolP2P.Denied
    offset getter.
    -
    getPartialContent() - Method in class protocolP2P.FilePart
    +
    getOffset() - Method in class protocolP2P.FilePart
    +
    +
    offset getter.
    +
    +
    getOffset() - Method in class protocolP2P.LoadRequest
    +
    +
    offset getter.
    +
    +
    getPartialContent() - Method in class protocolP2P.FilePart
    partialContent getter.
    -
    getPayload() - Method in class protocolP2P.ProtocolP2PDatagram
    +
    getPayload() - Method in class protocolP2P.ProtocolP2PPacket
    +
    +
    Returns Payload associated with the Packet.
    +
    +
    getPayloadSize(byte[]) - Static method in class protocolP2P.Payload
    +
    +
    Get payload’s size from a Packet.
    +
    +
    getPort() - Method in class tools.HostItem
    +
    +
    Getter for port
    +
    +
    getPunishmentProbability(HostItem) - Method in class serverP2P.RatioWatcher
    +
    +
    Get Up-ratio for an applications
    +
    +
    getReceivedBytesCount() - Method in class clientP2P.ClientDownloadPart
    -
    Returns Payload associated with the datagram.
    +
    receivedBytesCount getter
    -
    getRequestResponseCode() - Method in class protocolP2P.Payload
    +
    getRequestResponseCode() - Method in class protocolP2P.Payload
    RRCode getter.
    -
    getTotalSize() - Method in class protocolP2P.FilePart
    +
    getServer() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Server getter
    +
    +
    getServer() - Method in class protocolP2P.UpdateRatio
    +
    +
    Server getter
    +
    +
    getSha512Map() - Method in class serverP2P.FileWatcher
    +
    +
    Sha512 map getter
    +
    +
    getSocket() - Method in class clientP2P.ClientDownloadPart
    +
    +
    Get the socket
    +
    +
    getSocket() - Method in class clientP2P.ClientDownloadPartTCP
    +
    +
    Get the socket
    +
    +
    getSocket() - Method in class clientP2P.ClientDownloadPartUDP
    +
    +
    Get the socket
    +
    +
    getSuccess() - Method in class clientP2P.ClientDownload
    +
    +
    Success getter.
    +
    +
    getTCPSocket() - Method in class tools.HostItem
    +
    +
    Get TCP Socket.
    +
    +
    getTotalDown() - Method in class protocolP2P.RatioResponse
    +
    +
    totalDown getter.
    +
    +
    getTotalSize() - Method in class protocolP2P.SizeResponse
    totalSize getter.
    +
    getTotalUp() - Method in class protocolP2P.RatioResponse
    +
    +
    totalUp getter.
    +
    +
    getTrackerSocket() - Method in class clientP2P.ClientManagement
    +
    +
    Getter for tracker socket
    +
    +
    getTrackerSocket() - Method in class clientP2P.ClientManagementTCP
    +
    +
    Getter for tracker socket
    +
    +
    getTrackerSocket() - Method in class clientP2P.ClientManagementUDP
    +
    +
    Getter for tracker socket
    +
    +
    getTrackerSocket() - Method in class serverP2P.RatioWatcher
    +
    +
    Tracker socket getter
    +
    +
    getTrackerSocket() - Method in class serverP2P.RatioWatcherTCP
    +
    +
    Tracker socket getter
    +
    +
    getTrackerSocket() - Method in class serverP2P.RatioWatcherUDP
    +
    +
    Tracker socket getter
    +
    +
    getTrackerSocket() - Method in class serverP2P.ServerManagement
    +
    +
    Getter for tracker socket
    +
    +
    getTrackerSocket() - Method in class serverP2P.ServerManagementTCP
    +
    +
    Getter for tracker socket
    +
    +
    getTrackerSocket() - Method in class serverP2P.ServerManagementUDP
    +
    +
    Getter for tracker socket
    +
    +
    getUDPSocket() - Method in class tools.HostItem
    +
    +
    Get UDP Socket + return UDP Socket
    +
    +
    gui - package gui
    +
     
    +
    Gui - Class in gui
    +
    +
    Class to download file
    +
    +
    Gui() - Constructor for class gui.Gui
    +
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-8.html b/doc/javadoc/index-files/index-8.html index 966d577..eca1c90 100644 --- a/doc/javadoc/index-files/index-8.html +++ b/doc/javadoc/index-files/index-8.html @@ -1,52 +1,37 @@ - + - -I-Index - - + +H-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    I

    +

    H

    -
    INTERNAL_ERROR - protocolP2P.RequestResponseCode
    +
    handleClientRequest() - Method in class serverP2P.ServerManagementTCP.ClientHandler
    +
    +
    Respond to next request incomming on socket s.
    +
    +
    handleClientRequest() - Method in class tracker.TrackerManagementTCP.ClientHandler
    +
    +
    Respond to next request incomming on socket s.
    +
    +
    handleDiscover(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle Discover request
    +
    +
    handleListRequest(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle List request
    +
    +
    handleListResponse(T, HostItem) - Method in class tracker.TrackerManagement
    +
    +
    Handle List Responses
    +
    +
    handleRatio(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle Ratio request
    +
    +
    handleRegister(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle Registering
    +
    +
    handleRequest(T) - Method in class serverP2P.ServerManagement
    +
    +
    Handle request.
    +
    +
    handleRequest(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle requests
    +
    +
    handleSizeRequest(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle Size request
    +
    +
    handleUnregister(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle Unregistering
    +
    +
    handleUpdateRatio(T) - Method in class tracker.TrackerManagement
    +
    +
    Handle Update Ratio
    +
    +
    hasFailed() - Method in class clientP2P.ClientDownloadPart
    +
    +
    True if thread has failed to get a file.
    +
    +
    hash512 - Variable in class clientP2P.ClientDownload
    +
     
    +
    HashAlgorithm - Enum in protocolP2P
    +
    +
    HashAlgorithm enum.
    +
    +
    HashAlgorithm(String) - Constructor for enum protocolP2P.HashAlgorithm
    +
     
    +
    hashCode() - Method in class tools.HostItem
    +
    +
    Override of hashCode method
    +
    +
    hashes - Variable in class protocolP2P.HashResponse
    +
     
    +
    HashRequest - Class in protocolP2P
    +
    +
    Representation of payload for hash request.
    +
    +
    HashRequest(String, HashAlgorithm[]) - Constructor for class protocolP2P.HashRequest
    +
    +
    Constructor (typically used by the server) with a filename parameter.
    +
    +
    HashRequest(byte[]) - Constructor for class protocolP2P.HashRequest
    +
    +
    Constructor (typically used by client) with a byte[] parameter containing the Packet received.
    +
    +
    HashResponse - Class in protocolP2P
    +
    +
    Representation of payload for hash response.
    +
    +
    HashResponse(String, Map<HashAlgorithm, byte[]>) - Constructor for class protocolP2P.HashResponse
    +
    +
    Constructor (typically used by the server) with a filename parameter.
    +
    +
    HashResponse(byte[]) - Constructor for class protocolP2P.HashResponse
    +
    +
    Constructor (typically used by client) with a byte[] parameter containing the Packet received.
    +
    +
    hostItem - Variable in class protocolP2P.LoadRequest
    +
     
    +
    hostItem - Variable in class protocolP2P.RatioRequest
    +
     
    +
    hostItem - Variable in class protocolP2P.RatioResponse
     
    -
    InternalError - Exception in exception
    +
    hostItem - Variable in class protocolP2P.Register
     
    -
    InternalError() - Constructor for exception exception.InternalError
    +
    hostItem - Variable in class protocolP2P.Unregister
     
    -
    InternalRemoteError - Exception in remoteException
    +
    HostItem - Class in tools
    +
    +
    Class to store hostnames + ports
    +
    +
    HostItem(String, int) - Constructor for class tools.HostItem
    +
    +
    Constructor with hostname and port
    +
    +
    HostItem(Socket) - Constructor for class tools.HostItem
    +
    +
    Constructor from Socket.
    +
    +
    hostList - Variable in class clientP2P.ClientDownload
     
    -
    InternalRemoteError() - Constructor for exception remoteException.InternalRemoteError
    +
    hostList - Variable in class clientP2P.ClientManagement
    +
     
    +
    hostList - Variable in class protocolP2P.DiscoverResponse
    +
     
    +
    hostList - Variable in class tracker.TrackerManagement
    +
     
    +
    hostname - Variable in class tools.HostItem
    +
     
    +
    HOSTNAME_START_POSITION - Static variable in class protocolP2P.RatioRequest
    +
     
    +
    HOSTNAME_START_POSITION - Static variable in class protocolP2P.RatioResponse
    +
     
    +
    HOSTNAME_START_POSITION - Static variable in class protocolP2P.Register
    +
     
    +
    HOSTNAME_START_POSITION - Static variable in class protocolP2P.Unregister
    +
     
    +
    HOSTNAMES_START_POSITION - Static variable in class protocolP2P.UpdateRatio
    +
     
    +
    hostnameServer - Variable in class gui.ClientP2PGUI
    +
     
    +
    hostnameTracker - Variable in class gui.ClientP2PGUI
     
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index-files/index-9.html b/doc/javadoc/index-files/index-9.html index 26b69df..0eee33f 100644 --- a/doc/javadoc/index-files/index-9.html +++ b/doc/javadoc/index-files/index-9.html @@ -1,52 +1,37 @@ - + - -L-Index - - + +I-Index + - - - - - - - + -
    - -
    -
    -
    A B C D E F G I L M N P R S T V W 
    All Classes All Packages +
    A B C D E F G H I J L M N O P R S T U V W  -

    L

    +

    I

    -
    LIST_REQUEST - protocolP2P.RequestResponseCode
    +
    inetAddress - Variable in class tools.HostItem
     
    -
    LIST_RESPONSE - protocolP2P.RequestResponseCode
    +
    init() - Method in class clientP2P.ClientDownload
    +
    +
    Initialize infos about file to download (size, hash512sum, partslist to dl).
    +
    +
    initComponents() - Method in class gui.ArgumentsGen
    +
    +
    This method is called from within the constructor to initialize the form.
    +
    +
    initComponents() - Method in class gui.DownloadSelectionGen
    +
    +
    This method is called from within the constructor to initialize the form.
    +
    +
    initComponents() - Method in class gui.ErrorFrame
    +
    +
    This method is called from within the constructor to initialize the form.
    +
    +
    initDirectoriesAndLoggers() - Method in class clientP2P.ClientP2P
    +
    +
    Initialize loggers if directories and logger are null, + else fail silently.
    +
    +
    initDirectoriesAndLoggers() - Method in class gui.ClientP2PGUI
    +
    +
    Initialize loggers if directories and logger are null, + else fail silently.
    +
    +
    initDownloader(String) - Method in class clientP2P.ClientManagement
    +
    +
    Initialize downloader
    +
    +
    initDownloader(String) - Method in class clientP2P.ClientManagementTCP
    +
    +
    Initialize downloader
    +
    +
    initDownloader(String) - Method in class clientP2P.ClientManagementUDP
    +
    +
    Initialize downloader
    +
    +
    initFileList() - Method in class clientP2P.ClientInterfaceCLI
    +
    +
    Initialize file list
    +
    +
    initHostList() - Method in class clientP2P.ClientInterfaceCLI
    +
    +
    Initialization of hostList with retry in failure
    +
    +
    initHostList() - Method in class clientP2P.ClientManagement
    +
    +
    Initialize hostList from tracker
    +
    +
    initHostList() - Method in class gui.ClientInterfaceGUI
    +
    +
    Initialization of hostList with retry in failure
    +
    +
    initSha512() - Method in class serverP2P.FileWatcher
    +
    +
    Init sha512 map.
    +
    +
    initThreads() - Method in class clientP2P.ClientDownload
    +
    +
    Starts threads for each server in hostList.
    +
    +
    InternalError - Exception in localException
     
    -
    LOAD_REQUEST - protocolP2P.RequestResponseCode
    +
    InternalError() - Constructor for exception localException.InternalError
     
    -
    LOAD_RESPONSE - protocolP2P.RequestResponseCode
    +
    InternalRemoteError - Exception in remoteException
     
    -
    LoadRequest - Class in protocolP2P
    -
    -
    Representation of payload for load request.
    -
    -
    LoadRequest(String) - Constructor for class protocolP2P.LoadRequest
    +
    InternalRemoteError() - Constructor for exception remoteException.InternalRemoteError
    +
     
    +
    isPortInRange(int) - Method in class tools.PortRange
    -
    Constructor (typically used by the server) with a filename parameter.
    +
    test if port given correspond a range : registered ports, can be used without superuser privileges
    -A B C D E F G I L M N P R S T V W 
    All Classes All Packages
    -
    - diff --git a/doc/javadoc/index.html b/doc/javadoc/index.html index d985a28..41c2a9f 100644 --- a/doc/javadoc/index.html +++ b/doc/javadoc/index.html @@ -1,180 +1,75 @@ - + - -Overview - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Packages 
    PackageDescription
    clientP2P 
    exception 
    protocolP2P 
    remoteException 
    serverP2P 
    tools 
    -
    -
    -