@@ -25,62 +25,32 @@ public EzyAppProxy(EzySocketProxy socketProxy, String appName)
2525 new Dictionary < String , IDictionary < Object , AppProxyDataHandler > > ( ) ;
2626 }
2727
28- public void send ( EzyRequest request )
29- {
30- send ( request , false ) ;
31- }
32-
33- public void send ( EzyRequest request , bool encrypted )
28+ public void send ( EzyRequest request , bool encrypted = false )
3429 {
3530 app . send ( request , encrypted ) ;
3631 }
3732
38- public void send ( String cmd )
39- {
40- send ( cmd , false ) ;
41- }
42-
43- public void send ( String cmd , bool encrypted )
33+ public void send ( String cmd , bool encrypted = false )
4434 {
4535 app . send ( cmd , encrypted ) ;
4636 }
4737
48- public void send ( String cmd , Object data )
49- {
50- send ( cmd , data , false ) ;
51- }
52-
53- public void send ( String cmd , Object data , bool encrypted )
38+ public void send ( String cmd , Object data , bool encrypted = false )
5439 {
5540 app . send ( cmd , binding . marshall < EzyData > ( data ) , encrypted ) ;
5641 }
5742
58- public void udpSend ( EzyRequest request )
59- {
60- udpSend ( request , false ) ;
61- }
62-
63- public void udpSend ( EzyRequest request , bool encrypted )
43+ public void udpSend ( EzyRequest request , bool encrypted = false )
6444 {
6545 app . udpSend ( request , encrypted ) ;
6646 }
6747
68- public void udpSend ( String cmd )
69- {
70- udpSend ( cmd , false ) ;
71- }
72-
73- public void udpSend ( String cmd , bool encrypted )
48+ public void udpSend ( String cmd , bool encrypted = false )
7449 {
7550 app . udpSend ( cmd , encrypted ) ;
7651 }
7752
78- public void udpSend ( String cmd , Object data )
79- {
80- udpSend ( cmd , data , false ) ;
81- }
82-
83- public void udpSend ( String cmd , Object data , bool encrypted )
53+ public void udpSend ( String cmd , Object data , bool encrypted = false )
8454 {
8555 app . udpSend ( cmd , binding . marshall < EzyData > ( data ) , encrypted ) ;
8656 }
0 commit comments