Uses of Class
swpchat.protocol.TimeoutException

Packages that use TimeoutException
swpchat.client   
swpchat.protocol   
swpchat.server   
 

Uses of TimeoutException in swpchat.client
 

Methods in swpchat.client that throw TimeoutException
protected static java.util.Vector ServerConnection.readReply(ChatStreamTokenizer tokenizer, java.net.Socket sourceSocket)
          Fetch one command from the inputStream.
 void FileProtocolHandler.serve(java.net.Socket socket)
          implementation of method serve from ProtocolHandler
protected static java.util.Vector FileProtocolHandler.readCommand(ChatStreamTokenizer tokenizer, java.net.Socket sourceSocket)
          Fetch one command from the inputStream.
 void ReceiverServerConnection.connect(java.lang.String servername, java.lang.String sessionKey)
          Connects to the given server with the given nickname.
 void ReceiverServerConnection.join(java.lang.String sessionKey, java.lang.String channelName)
          join specified channel
 void ReceiverServerConnection.leave(java.lang.String channelName)
          leave the specified channel
 void ControlConnection.connect(java.lang.String servername, java.lang.String nickname)
          Connect to the server.
 void ControlConnection.changeNick(java.lang.String sessionKey, java.lang.String newNick)
          Change the nickname.
private  void ControlConnection.changeNickEvenIfUnconnected(java.lang.String sessionKey, java.lang.String newNick)
          Change the nickname without checking connectedness.
 java.lang.String ControlConnection.getIPAddress(java.lang.String nickname)
          requestIPAddress from the server
 java.lang.String ControlConnection.sendTelephoneRequest(java.lang.String partner, java.lang.String reason)
          Send telephonerequest to the server.
 void ControlConnection.disconnect()
          Disconnect from the server.
 void ControlConnection.createNewChannel(java.lang.String name, java.lang.String sendPasswd, java.lang.String recvPasswd)
          sends a create new channel request to the server.
 void ControlConnection.renameChannel(java.lang.String oldname, java.lang.String newname)
          renames an existing channel, but not used yet.
 void ControlConnection.removeChannel(java.lang.String name)
          removes an existing channel, but not used yet.
 void ControlConnection.sendUserInfo(java.lang.String strUserInfo)
          sends a "sendUserInfo" - command to the server with serveral userInfos serialized to a string
 void ControlConnection.memberRequest(java.lang.String channel, java.lang.String reason)
          Used to pass the Member Message to the Server,showing the readiness to receive Member Info Messages
 void ControlConnection.sendContactList()
           
 void ControlConnection.notificationRequest(java.lang.String nick)
          Send a notificationRequest to the server
 void ControlConnection.stopNotification(java.lang.String nick)
          Send a StopNotification to the server
protected  java.util.Vector ControlReceiver.readCommand(ChatStreamTokenizer tokenizer, java.net.Socket sourceSocket)
          Fetch one command from the input.
 void SenderServerConnection.connect(java.lang.String servername, java.lang.String sessionKey)
          Connects to the given server with the given nickname.
 void SenderServerConnection.join(java.lang.String sessionKey, java.lang.String channelName)
          join specified channel
 void SenderServerConnection.leave(java.lang.String channelName)
          leave the specified channel
 void SenderServerConnection.send(java.lang.String channelName, java.lang.String text)
          Send media to the server.
 void SenderServerConnection.setTopic(java.lang.String channelName, java.lang.String topic)
          Set topic for a channel.
 void SenderServerConnection.ship(java.lang.String nick, java.lang.String status, ShipWindow shipWindow)
          Ship media to the server.
 void SenderServerConnection.whisper(java.lang.String channelName, java.lang.String receiver, java.lang.String text)
          Whisper message to the server.
 void SenderServerConnection.emotion(java.lang.String channelName, java.lang.String target, java.lang.String emotion)
          Emotion message to the server.
 void SenderServerConnection.play(java.lang.String channelName, java.lang.String audioKey)
          Make other clients play a sound file.
 void SenderServerConnection.requestUserInfo(java.lang.String nickname)
          sends a user info request
 void FileSendConnection.sendFile(java.lang.String IPadress, java.io.File file)
          Sends a file to the given client with the given IPAdress.
 

Uses of TimeoutException in swpchat.protocol
 

Methods in swpchat.protocol that throw TimeoutException
 void ReceiverServer.serve(java.net.Socket clientSocket, ClientConnection clientConnection, java.io.InputStream inputStream)
          Handle login and logout requests given by the client through the clientSocket.
 void ControlClient.connect(java.lang.String servername, java.lang.String nickname)
          Connect to the server.
 void ControlClient.changeNick(java.lang.String sessionKey, java.lang.String newNick)
          Change the nickname.
 void ControlClient.createNewChannel(java.lang.String name, java.lang.String sendPasswd, java.lang.String recvPasswd)
          sends a create new channel request to the server.
 void ControlClient.renameChannel(java.lang.String oldname, java.lang.String newname)
          renames an existing channel, but not used yet.
 void ControlClient.removeChannel(java.lang.String name)
          removes an existing channel, but not used yet.
 void ControlClient.disconnect()
          Disconnect from the server.
 void FileServer.serve(java.net.Socket socket)
          Method serve is used to serve a sender(Client).
 void ControlServer.serve(java.net.Socket socket, ClientConnection client, java.io.InputStream inputStream)
          implementation of method serve from ProtocolHandler instantiate new ControlProtocolReceiverThread
 void SenderServer.serve(java.net.Socket clientSocket, ClientConnection clientConnection, java.io.InputStream inputStream)
          Handle requests given by the client through the clientSocket.
 void ReceiverClient.connect(java.lang.String servername, java.lang.String sessionKey)
          Connects to the given server with the given nickname.
 void ReceiverClient.disconnect()
          Disconnect from the server.
 void ReceiverClient.join(java.lang.String sessionKey, java.lang.String channelName)
          join specified channel
 void ReceiverClient.leave(java.lang.String channelName)
          leave the specified channel
 void SenderClient.connect(java.lang.String servername, java.lang.String sessionKey)
          Connects to the given server with the given nickname.
 void SenderClient.join(java.lang.String sessionKey, java.lang.String channelName)
          join specified channel
 void SenderClient.leave(java.lang.String channelName)
          leave the specified channel
 void SenderClient.send(java.lang.String channelName, java.lang.String text)
          Send media to the server.
 void SenderClient.play(java.lang.String channelName, java.lang.String audiokey)
          Make other clients play a sound file.
 void SenderClient.disconnect()
          Disconnect from the server.
 

Uses of TimeoutException in swpchat.server
 

Methods in swpchat.server that throw TimeoutException
abstract  void ProtocolHandler.serve(java.net.Socket clientSocket, ClientConnection clientConnection, java.io.InputStream inputStream)
          serves the client: parses commands from the client and sends appropiate replies (protocol violations are ignored for now)
protected  java.util.Vector ProtocolHandler.readCommand(ChatStreamTokenizer tokenizer, java.net.Socket sourceSocket)
           
 void SenderProtocolHandler.serve(java.net.Socket clientSocket, ClientConnection clientConnection, java.io.InputStream inputStream)
          serves the client: parses commands from the client and sends appropiate replies (protocol violations are ignored for now)
 void ReceiverProtocolHandler.serve(java.net.Socket clientSocket, ClientConnection clientConnection, java.io.InputStream inputStream)
          serves the client: passes on Messages from the server to the client
 void ControlProtocolHandler.serve(java.net.Socket socket, ClientConnection client, java.io.InputStream inputStream)
          implementation of method serve from ProtocolHandler instantiate new ControlProtocolReceiverThread