Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion java/example/TCPExample.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* Copyright (C) 2015-2021 Swift Navigation Inc.
* Contact: https://support.swiftnav.com
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
*/
package com.swiftnav.sbp.examples;


Expand All @@ -19,7 +29,6 @@ public static void main(String[] args) {
new TCPExample().start(server, port);
}


public void start(String server, int port) {
SBPFramer framer = new SBPFramer(new SBPDriverTCP(server, port));
SBPHandler handler = new SBPHandler(framer);
Expand Down