Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
development:realtime:buffer_java [2015/03/29 23:36]
robert merged with java events page
development:realtime:buffer_java [2017/08/17 11:21] (current)
127.0.0.1 external edit
Line 6: Line 6:
 Because the tools listed here are fairly simple, studying their [[http://​code.google.com/​p/​fieldtrip/​source/​browse/​trunk/​realtime/​src/​buffer/​java|source code]] is a good way to learn about the Java interface to the FieldTrip buffer. Because the tools listed here are fairly simple, studying their [[http://​code.google.com/​p/​fieldtrip/​source/​browse/​trunk/​realtime/​src/​buffer/​java|source code]] is a good way to learn about the Java interface to the FieldTrip buffer.
  
-===== Client side pure Java implementation =====+===== Java implementation ​of the Buffer Server ​=====
  
-The directory ''​realtime/​buffer/​java''​ contains a couple of Java classes that implement a client-side interface to the FieldTrip buffer (socket connections only). The classes wrap FieldTrip-style header structures, events, and client connections to a server. There are also some Java-based tools for writing [[[[java_event|events]] to the buffer.+The directory ''​realtime/​src/​buffer/​java/​bufferserver''​ contains a Java implementation of the buffer server. 
 + 
 +===== Java implementation of the Buffer Client ===== 
 + 
 +The directory ''​realtime/​src/​buffer/​java''​ contains a couple of Java classes that implement a client-side interface to the FieldTrip buffer (socket connections only). The classes wrap FieldTrip-style header structures, events, and client connections to a server.
  
 The following Java code example demonstrates how to use the interface: The following Java code example demonstrates how to use the interface:
Line 92: Line 96:
 ==== Compilation ==== ==== Compilation ====
  
-The simplest way to compile the Java tools is to change to the directory ''​realtime/​buffer/​java''​ +The simplest way to compile the Java tools is to change to the directory ''​realtime/src/​buffer/​java''​ and just to type  
-and just to type ''​javac *.java''​. ​We have only tested JDK 6 (standard edition), but earlier versions might work as well. +  ​javac *.java 
 +We have only tested JDK 6 (standard edition), but earlier versions might work as well.