Permalink
Browse files

expose some useful utils to the client

  • Loading branch information...
1 parent 9f9092d commit a96efe7676476cc83696226da68da58845bdc5f5 @bjyoungblood bjyoungblood committed Dec 2, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 lib/shorty.js
View
@@ -57,3 +57,15 @@ exports.createServer = function(config) {
return new server(config.smpp);
};
+
+exports.getSmppDefinitions = function() {
+ return require('./smpp-definitions');
+};
+
+exports.getPduParser = function() {
+ return require('./pdu-parser');
+};
+
+exports.getPduWriter = function() {
+ return require('./pdu-writer');
+};

0 comments on commit a96efe7

Please sign in to comment.