Welcome![Sign In][Sign Up]
Location:
Search - msg.java

Search list

[JSP/Javamsg

Description: an instant messenger written in java (client)
Platform: | Size: 44954 | Author: wss | Hits:

[JSP/JavaMsg.java

Description: java平台短信开发,短信对象封装类。主要实现短信内容个格式化导入导出
Platform: | Size: 2516 | Author: Sol Zhang | Hits:

[J2MESMS扩展配置.rar

Description:

1、将jre文件夹复制到你本机所在的JDK下覆盖掉全部jre文件夹

2、将lib文件夹复制到你项目所在的lib,添加对应lib


import org.smslib.IOutboundMessageNotification;
import org.smslib.Library;
import org.smslib.MessageEncodings;
import org.smslib.MessageProtocols;
import org.smslib.OutboundMessage;
import org.smslib.Service;
import org.smslib.modem.SerialModemGateway;
import java.util.List;


public class SendSms {
    public SendSms() {
    }


    public void sendSMS(String[] phoneNumber) throws Exception {
        Service srv;
        OutboundMessage msg;

        OutboundNotification outboundNotification = new OutboundNotification();

        srv = new Service();
        SerialModemGateway gateway = new SerialModemGateway("modem.com1",
                "COM1", 9600, null, null);
        gateway.setInbound(true);
        gateway.setOutbound(true);
        gateway.setSimPin("0000");
        gateway.setOutboundNotification(outboundNotification);
        gateway.setProtocol(MessageProtocols.PDU);
        srv.addGateway(gateway);

        try {
            srv.startService();

            for (int i = 0; i < phoneNumber.length; i++) {
                msg = new OutboundMessage(phoneNumber[i], "您有会议待处理,请登陆查看!");
                msg.setEncoding(MessageEncodings.ENCUCS2);
                srv.sendMessage(msg);

            }

        } finally {
            srv.stopService();
        }
    }

    public class OutboundNotification implements IOutboundMessageNotification {
        public void process(String gatewayId, OutboundMessage msg) {
            System.out.println("Outbound handler called from Gateway: " +
                               gatewayId);
            System.out.println(msg);
        }
    }


    public static void main(String args[]) {
        SendSms app = new SendSms();
        try {
            app.doIt();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
 


Platform: | Size: 1040178 | Author: idhuanghao | Hits:

[Symbian一个symbian下的手机网游源代码

Description: blackjack .........\blackjack.jad .........\blackjack.jpx .........\blackjack.jpx.local .........\blackjack.jpx.local~ .........\blackjack.oif .........\jad-temp .........\........\Main.jad .........\res .........\...\caidan.png .........\...\caohua.png .........\...\fangjian.png .........\...\fangkuai.png .........\...\gameover.png .........\...\heitao.png .........\...\hongxin.png .........\...\logo.png .........\...\message.png .........\...\renwu.png .........\...\welcomone.png .........\...\welcomtwo.png .........\src .........\...\com .........\...\...\dfun .........\...\...\....\blackjack .........\...\...\....\.........\Connection.java .........\...\...\....\.........\Hall.java .........\...\...\....\.........\House.java .........\...\...\....\.........\Main.java .........\...\...\....\.........\MainCanvas.java .........\...\...\....\.........\Msg.java .........\...\...\....\.........\Welcom.java BlackjackServer ...............\21点服务端.exe ...............\BlackjackServer.jpx ...............\BlackjackServer.jpx.local ...............\BlackjackServer.jpx.local~ ...............\classes ...............\.......\com ...............\.......\...\cnhvc ...............\.......\...\.....\blackjackServer ...............\.......\...\.....\...............\Control.class ...............\.......\...\.....\...............\DataConn.class ...............\.......\...\.....\...............\House.class ...............\.......\...\.....\...............\HouseManage.class ...............\.......\...\.....\...............\Init.class ...............\.......\...\.....\...............\SocketConn.class ...............\.......\...\.....\...............\SocketManage.class ...............\.......\...\.....\...............\User.class ...............\.......\...\.....\...............\UserManage.class ...............\.......\...\dfun ...............\.......\...\....\blackjackServer ...............\.......\...\....\...............\Control.class ...............\.......\...\....\...............\DataConn.class ...............\.......\...\....\...............\House.class ...............\.......\...\....\...............\HouseManage.class ...............\.......\...\....\...............\Init.class ...............\.......\...\....\...............\SocketConn.class ...............\.......\...\....\...............\SocketManage.class ...............\.......\...\....\...............\User.class ...............\.......\...\....\...............\UserManage.class ...............\.......\package cache ...............\.......\.............\com.dfun.blackjackServer.dep2 ...............\doc ...............\...\BlackJack服务端设计书.doc ...............\...\com ...............\...\...\cnhvc ...............\...\...\.....\blackjackServer ...............\...\...\.....\...............\ConnManage.html ...............\...\...\.....\...............\Control.html ...............\...\客户端向服务端传递数据.vsd ...............\...\系统结构.vsd ...............\...\网络初始化.vsd ...............\src ...............\...\com ...............\...\...\dfun ...............\...\...\....\blackjackServer ...............\...\...\....\...............\Control.java ...............\...\...\....\...............\Control.jbx ...............\...\...\....\...............\DataConn.java ...............\...\...\....\...............\House.java ...............\...\...\....\...............\House.jbx ...............\...\...\....\...............\HouseManage.java ...............\...\...\....\...............\Init.java ...............\...\...\....\...............\SocketConn.java ...............\...\...\....\...............\SocketManage.java ...............\...\...\....\...............\User.java ...............\...\...\....\...............\UserManage.java
Platform: | Size: 312348 | Author: guanhe731982@163.com | Hits:

[JSP/Javamsg

Description: an instant messenger written in java (client)
Platform: | Size: 45056 | Author: wss | Hits:

[JSP/JavaMsg.java

Description: java平台短信开发,短信对象封装类。主要实现短信内容个格式化导入导出-java platform, message development, message type of the object package. The main achievement of the content of a message format import and export
Platform: | Size: 2048 | Author: Sol Zhang | Hits:

[JSP/Javashin-chan1.0b

Description: A bluetooth SMS patcher Java ME application I made quickly after I thought about making one. What is does is to use JSR-82 (Bluetooth API) to send a String msg, String dest to another phone running shin-chan, and this phone will try to send it as SMS using JSR-135 (WMA). The upload is a Netbeans 6.0 (the ver. available back then) project. Hope this code will help someone
Platform: | Size: 480256 | Author: thirdy | Hits:

[JSP/JavaMSGfoundation

Description: software engineering MSG java source code
Platform: | Size: 57344 | Author: sandeep | Hits:

[Web Servermsg

Description: 实现发送 接受短消息 有垃圾箱 草稿箱等功能-To achieve acceptance of short message sending functions have bin Drafts
Platform: | Size: 568320 | Author: 孙宝丹 | Hits:

[CA authsimpleecdsa-1.0.0.tar

Description: it s about authentication msg using ECDSA
Platform: | Size: 113664 | Author: rayala upendar rao | Hits:

[JSP/Javapersonal_blog_system

Description: 一、个人博客系统MyEclipse+jsp+java+e 二、主要页面 主页面注册:zhuce.jsp 登录页面:login_.jsp 添加留言板页面:msg.jsp、write.jsp 删除留言内容:doDelete.jsp 三、运行时输入: http://localhost:8080/MyBlog/Jsp_first1DB/zhuce.jsp 进入主页 进入主页必须先注册用户名 注册时可以再页面输入用户名 密码 将存入数据库 -A personal blog system MyEclipse+ jsp+ java+ e Second, the main page main page registration: zhuce.jsp login page: login_.jsp add a message board page: msg.jsp, write.jsp remove Content: doDelete.jsp III. run-time type: http://localhost:8080/MyBlog/Jsp_first1DB/zhuce.jsp into the home into the home must be a registered user registration page can be entered into the database user name password
Platform: | Size: 14908416 | Author: jia | Hits:

[JSP/Java3-method-to-put-msg-to-MQ-using-java

Description: java语言 三种向WebSphere+MQ队列发送消息的方法-There are 3 methods to put msg to MQ queue using java language.
Platform: | Size: 5120 | Author: 冷福平 | Hits:

[JSP/Javaget-msg-from-MQ-using-java

Description: java客户端从MQ队列接收消息的三种方法-3 methods to get msg from MQ queue using java language.
Platform: | Size: 6144 | Author: 冷福平 | Hits:

[JSP/JavaTCP_UDPreservemsg

Description: 1.Run Server.java first to monitor 2.read n_port. In this program and the n-port are 6060. 3.In the Client window, you will see "Remember the n_port and r_port are both 6060" "Please input the host name of server" 4.Since I tested the program on computer with number ENVGEDDES27.NEXUS.UWATERLOO.CA type "ENVGEDDES27.NEXUS.UWATERLOO.CA" and press "enter" 5.The Client window will show "Sever host name is: ENVGEDDES27.NEXUS.UWATERLOO.CA" "Please input a introduction:" 6.Type who you are and say hello. For example: "Hello, this is Mary" 7.At this time, the Client machine will remind you to input message: "please input msg:" 8.Type what you want to say. For example: "Nice to meet you!" 9.The program will show: "FROM SERVER: .uoy teem ot eciN" and remind you the program is end: "end"-Use TCP and UDP to send and reseive msg and reserve it
Platform: | Size: 9216 | Author: yixing | Hits:

CodeBus www.codebus.net