Advertisement
TrodelHD

Untitled

May 9th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. package connection;
  2.  
  3. import java.io.ObjectOutputStream;
  4.  
  5. import Converter.Converter;
  6.  
  7. public class InputListener {
  8.  
  9. public InputListener(byte[][] message, ObjectOutputStream output) {
  10.  
  11. try {
  12. String def = new String(message[0]);
  13. System.out.println(def);
  14. } catch (Exception e) {
  15. // TODO: handle exception
  16. }
  17.  
  18.  
  19. Converter conver = new Converter();
  20. conver.createFileformByteArray("TestDataSend.jpg", message[1]);
  21.  
  22. //if(message.get(0).equals("ChatMessage")){ChatMessage(message.get(1));}
  23. }
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement