Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python dnp3 #19

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
d5a353b
Added AsyncStackManager to swig class list
May 31, 2012
2d931a3
Added VTO functions to StackManager
Jun 1, 2012
3f4c131
Fixed gcc 4.6 warnings in TestAPDU.cpp
Jun 1, 2012
4fb7da5
Merge remote-tracking branch 'gec/master'
Jun 1, 2012
bf20ef4
Enhanced Swig support
Jun 9, 2012
fa4bac8
Added DNP3/VtoData.h to the Swig list
Jun 9, 2012
fdc3945
Refactored IVtoCallbacks for better Swig integration
Jun 9, 2012
2856717
Fixed Swig Python support
Jun 9, 2012
de8d02d
Merge branch 'master', remote-tracking branch 'gec'
Jun 9, 2012
e4826a1
Merge remote-tracking branch 'gec/master'
Jun 15, 2012
26a9478
Merge remote-tracking branch 'gec/master'
Jun 16, 2012
318ec1c
Added rules to properly ignore dnp3test and testset
Jun 16, 2012
7a73a33
Added -threads to Python swig generation
Jun 21, 2012
32ba554
Added Python Master demo from William Sember
Jun 26, 2012
982c700
Added .DS_Store to .gitignore
Jun 26, 2012
edf4b5a
Merge remote-tracking branch 'gec/master'
Jun 26, 2012
e94eb7b
Merge remote-tracking branch 'gec/master'
Jun 29, 2012
a9de239
Merge branch 'master' of github:cverges/dnp3
Jun 29, 2012
d9b9f52
Merge remote-tracking branch 'origin/gitignore-fix'
Jun 29, 2012
0b74909
Merge remote-tracking branch 'gec/master'
Jul 4, 2012
8bbac2e
Added __init__.py to the clean list
Jul 4, 2012
c6dbfe1
Enhanced support for parallel 'make' builds
Jul 4, 2012
342c39f
Added support for IPv6 client/server sockets
Jul 14, 2012
ebadb08
Reverted TCPClient and TCPServer tags back for IPv4 support
Jul 14, 2012
0f7fbb4
Added headers for TCPv6* files
Jul 18, 2012
2a486a8
Added missing APL/AsyncResult.h to installed headers
Jul 23, 2012
21f73f7
Added missing TCPv4/v6 headers to installed headers list
Jul 23, 2012
ef36d81
Removed bad copy/paste mistake in Makefile.am
Jul 23, 2012
a7a2949
Added missing APL/RandomDouble.h to Makefile.am
Jul 23, 2012
322be8e
Fix for 'malformed packet' during session startup
Aug 7, 2012
4626288
Fix for 'malformed packet' during session startup
Aug 7, 2012
da00a9d
Merge branch 'master' of github:cverges/dnp3
Aug 7, 2012
4929543
Merge remote-tracking branch 'gec/master'
Aug 8, 2012
a717319
Readded backwards compatible AddTCP[Client|Server] API
Sep 11, 2012
b424753
Refactored directory organization
Sep 11, 2012
a62a6de
Missing declaration
glaslos Apr 16, 2013
b946c88
Missing declaration
glaslos Apr 16, 2013
d3930d0
Merge pull request #1 from glaslos/patch-1
Apr 17, 2013
2751e69
Merge pull request #2 from glaslos/patch-2
Apr 17, 2013
75af394
testset: use the AllowTimeSync for the MasterSettings tag
Apr 17, 2013
7b67a7d
Multiple class events for the same data type causes 0-length object g…
Jul 2, 2013
40a44fa
Merge branch 'zero-len-group-squashed'
Jul 3, 2013
7937454
Added 'mResetTimeSyncOnDown' control flag to SlaveConfig
Sep 13, 2013
04a2639
Reset time sync timer appropriately
Sep 13, 2013
6b56c47
Indicates the name of the physical layer the unknown route log entry
hungle Oct 8, 2013
bd06767
Added PhysLayerSettings option for enabling SO_KEEPALIVE
Nov 19, 2013
cc4f426
Resolve the remote address at each connection attempt
Nov 20, 2013
c64cb18
Bump revision to 1.1.1
Nov 20, 2013
f6bbf8c
WIP: Changed StackManager to take log filter level argument
hungle Feb 4, 2014
8a51c06
Ported fix for conformance issue with unsolicited when
hungle Mar 8, 2014
1e44c84
Log to file within StackManager to work around callback issue to Java
hungle Feb 6, 2014
1ad21fa
Disable strict aliasing optimization per Swig's guidance
hungle Feb 6, 2014
c8cdb33
Handle case where the host name failed to be resolved
hungle Mar 6, 2014
eb43e28
Bumped to v1.1.2
Mar 10, 2014
a6d4c06
Added debian package files
Mar 10, 2014
f0d6400
Added instructions for generating debian package
hungle Mar 10, 2014
9d1e646
Change monitor state prior to issuing an async open to properly
hungle Mar 28, 2014
942ee1b
Bumped to v1.1.3
hungle Mar 28, 2014
8245476
Reduced VTO buffering to better reflect network performance
hungle May 16, 2014
fafb357
Expose the ability to configure the VtoWriterQueueSize for the Master.
hungle Jul 8, 2014
a03f7de
Expose the ability to configure the TCP send and receive
hungle Jul 9, 2014
1abedb7
Added TcpSettings.h to the list of headers that need to be
hungle Aug 5, 2014
eb2f3eb
Added the ability to clear the need time flag on the outstation
hungle Nov 20, 2014
ac1c827
Added flag to allow builds on Ubuntu 14.04 with Boost 1.55
cverges-se Jun 2, 2015
a1e2f65
Fixed counter type in testset
cverges-se Jun 2, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
93 changes: 51 additions & 42 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,51 +1,61 @@
dnp3test
!DNP3Test/

testset
!TestSet/

*.gcda
*.gcno
*.iml
opendnp3.jar
JavaDNP3.h
JavaDNP3.cpp
*.la
*.lo
*.o
*.user
*~
.*.swp
.DS_Store
.deps
.dirstamp
.idea
/DNP3Java/target
/DNP3Java/src
/DNP.ncb
/DNP.suo
.libs
Debug
Release
ipch
*.user
pc_cygwin

/DNP3Java/.java-built
/DNP3Java/JavaDNP3.cpp
/DNP3Java/JavaDNP3.h
/DNP3Java/src
/DNP3Java/target
opendnp3.jar

/*/pc_linux_arm
/tools/install_scripts/boost/*/temp
/tools/boostlib
/CSToCppXMLBinder/bin
/CSToCppXMLBinder/obj
/ConfigurationBuilder/*.cs
/ConfigurationBuilder/*.xsx
/TestSet/*.xml
/DNP3Java/jar
/DNP.ncb
/DNP.suo
/DNP3Java/JavaDNP3_wrap.*
/DNP3Java/jar
/DNP3Java/src
/DNP3Java/target
/TestSet/*.xml
/coverage-*
/doc
/java
/lcov
/org
/src
*.log
/tools/boostlib
/tools/install_scripts/boost/*/temp
Debug
Linux_i686
Release
TestAPL/TestSingle.tiny.xml
TestSingle.tiny.xml
/doc
/coverage-*
/lcov
/org
*~
*.o
*.lo
.deps
.dirstamp
.libs
*.la
*.so
*.gcno
*.gcda
.*.swp
*.map
*.sdf
*.opensdf
ipch
pc_cygwin

demo-master-cpp
demo-slave-cpp
Expand All @@ -55,27 +65,26 @@ __init__.pyc
pyopendnp3.py
pyopendnp3.pyc

/autom4te.cache
/build-aux
/config/autotools/m4/libtool.m4
/config/autotools/m4/ltoptions.m4
/config/autotools/m4/ltsugar.m4
/config/autotools/m4/ltversion.m4
/config/autotools/m4/lt~obsolete.m4

/build-aux

/configure
configure.in
configure
Makefile.in
Makefile
config.h
stamp-h1
Makefile.in
aclocal.m4
/autom4te.cache
compile.log
config.h
config.h.in
config.log
config.status
configure
configure.in
libtool
stamp-h1

*target*


65 changes: 0 additions & 65 deletions APL/PhysicalLayerAsyncTCPClient.cpp

This file was deleted.

95 changes: 0 additions & 95 deletions APL/PhysicalLayerAsyncTCPServer.cpp

This file was deleted.

64 changes: 0 additions & 64 deletions APL/PhysicalLayerFactory.cpp

This file was deleted.

5 changes: 3 additions & 2 deletions APLTestTools/AsyncPhysTestObject.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@
//

#include "AsyncPhysTestObject.h"
#include <opendnp3/APL/TcpSettings.h>

namespace apl
{

AsyncPhysTestObject::AsyncPhysTestObject(FilterLevel aLevel, bool aImmediate, bool aAutoRead) :
AsyncTestObjectASIO(),
LogTester(aImmediate),
mTCPClient(mLog.GetLogger(aLevel, "TCPClient"), this->GetService(), "127.0.0.1", 50000),
mTCPServer(mLog.GetLogger(aLevel, "TCPSever"), this->GetService(), "127.0.0.1", 50000),
mTCPClient(mLog.GetLogger(aLevel, "TCPClient"), this->GetService(), TcpSettings("127.0.0.1", 50000)),
mTCPServer(mLog.GetLogger(aLevel, "TCPSever"), this->GetService(), TcpSettings("127.0.0.1", 50000)),
mClientAdapter(mLog.GetLogger(aLevel, "ClientAdapter"), &mTCPClient, aAutoRead),
mServerAdapter(mLog.GetLogger(aLevel, "ServerAdapter"), &mTCPServer, aAutoRead),
mClientUpper(mLog.GetLogger(aLevel, "MockUpperClient")),
Expand Down
Loading