package com.nms.server.thread;

import com.nms.server.util.socket.SSLSocketCallable;

/**
 * 通过通讯获取本机IP(暂未使用)
 *  @date Mar 14, 2013 5:23:58 PM
 *	@author ZhangGang
 *
 */
public class GetLocalIpFromWeb extends SSLSocketCallable{


	public GetLocalIpFromWeb(String ip, Integer port) throws Exception {
		super(ip, port);
	}

	protected Object toDo() throws Exception {
		Thread.currentThread().setName("Get The IP Thread");
		this.sendMessage("char:getLocalIp");
		String lIp = this.receiveMessage();
		this.sendMessage(SUCCESS);
		return lIp;
	}
}
