Package com.github.marook.eclipse_remote_control.command.serialize.impl.serialize

Examples of com.github.marook.eclipse_remote_control.command.serialize.impl.serialize.SerializeCommandEncoder


   * @deprecated Instantiate Client and run fireCmd instead.
   */
  public static void fireCommand(final Command cmd) throws IOException{
    final Socket s = new Socket("localhost", 53343);
     
    final ICommandEncoder ce = new SerializeCommandEncoder();
    final ObjectOutput cmdEncoder = ce.createEncoder(s.getOutputStream());
    cmdEncoder.writeObject(cmd);
     
    cmdEncoder.flush();
     
    cmdEncoder.close();
View Full Code Here

TOP

Related Classes of com.github.marook.eclipse_remote_control.command.serialize.impl.serialize.SerializeCommandEncoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.