text
stringlengths
3
1.18M
package com.taobao.top.link.remoting; import java.net.URI; import java.net.URISyntaxException; import java.util.concurrent.atomic.AtomicInteger; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.InitializingBean; import com.taobao.top.link.BufferManager; import ...
package com.taobao.top.link.remoting; import java.util.HashMap; import java.util.Map; import com.taobao.top.link.channel.ChannelSender; import com.taobao.top.link.channel.ServerChannelSender; public class MethodCallContext { private Map<Object, Object> callContext; private ServerChannelSender sender; ...
package com.taobao.top.link.remoting; @SuppressWarnings("serial") public class MethodCall implements Message { public String Uri; public String MethodName; public String TypeName; public Class<?>[] MethodSignature; public Object[] Args; }
package com.taobao.top.link.remoting; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ExecutorService; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.ThreadPoolExecut...
package com.taobao.top.link.remoting; public class FormatterException extends Exception { private static final long serialVersionUID = 7895716220832201804L; public FormatterException(String message, Exception innerException) { super(message, innerException); } }
package com.taobao.top.link.remoting; import java.util.concurrent.ExecutorService; import com.taobao.top.link.DefaultLoggerFactory; import com.taobao.top.link.LoggerFactory; import com.taobao.top.link.channel.ClientChannelSelector; import com.taobao.top.link.channel.ServerChannel; import com.taobao.top.link.c...
package com.taobao.top.link.remoting; public interface MethodCallProcessor { public MethodReturn process(MethodCall methodCall, MethodCallContext callContext) throws Throwable; }
package com.taobao.top.link.remoting; import java.net.URI; import java.util.HashMap; import com.taobao.top.link.DefaultLoggerFactory; import com.taobao.top.link.LoggerFactory; public class DefaultRemotingServerChannelHandler extends RemotingServerChannelHandler { private HashMap<String, MethodCallProcessor...
package com.taobao.top.link.remoting; // one callback per rpc-call public abstract class RemotingCallback { public Integer flag; public String serializationFormat; public Class<?> returnType; public abstract void onException(Throwable exception); public abstract void onMethodReturn(MethodReturn...
package com.taobao.top.link.logging; import org.apache.log4j.LogManager; import com.taobao.top.link.Logger; import com.taobao.top.link.LoggerFactory; public class Log4jLoggerFactory implements LoggerFactory { @Override public Logger create(String type) { return new Log4jLogger(LogManager.getLogger(ty...
package com.taobao.top.link.logging; import org.apache.commons.logging.Log; import com.taobao.top.link.Logger; public class CommonsLogger implements Logger { private Log logger; public CommonsLogger(Log log) { this.logger = log; } @Override public boolean isDebugEnabled() { return this.logg...
package com.taobao.top.link.logging; import org.apache.commons.logging.impl.LogFactoryImpl; import com.taobao.top.link.Logger; import com.taobao.top.link.LoggerFactory; public class CommonsLoggerFactory implements LoggerFactory { @Override public Logger create(String type) { return new CommonsLogger(Lo...
package com.taobao.top.link.logging; import org.apache.log4j.Level; import com.taobao.top.link.Logger; public class Log4jLogger implements Logger { private org.apache.log4j.Logger logger; public Log4jLogger(org.apache.log4j.Logger logger) { this.logger = logger; } @Override public boolean is...
package com.taobao.top.link.logging; //import org.apache.log4j.ConsoleAppender; //import org.apache.log4j.LogManager; //import org.apache.log4j.PatternLayout; import com.taobao.top.link.DefaultLoggerFactory; import com.taobao.top.link.LoggerFactory; public class LogUtil { static { // LogManager.getRoot...
package com.taobao.top.link; import java.util.LinkedList; public abstract class Pool<T> { private int maxSize; private int waitTimeout; private LinkedList<T> unused; private LinkedList<T> used; private Object waiter; public Pool() { this(0, 0); } public Pool(int maxSize, int waitTimeout) { ...
package com.taobao.top.link; public interface Logger { public boolean isDebugEnabled(); public boolean isInfoEnabled(); public boolean isWarnEnabled(); public boolean isErrorEnabled(); public boolean isFatalEnabled(); public void debug(String message); public void debug(Throwable exception)...
package com.taobao.top.link.schedule; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.TimerTask; import java.util.Map.Entry; import java.util.Queue; import java.util.Timer; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ExecutorService;...
package com.taobao.top.link; public class DefaultLoggerFactory implements LoggerFactory { private static LoggerFactory _default; static { setDefault(false, true, true, true, true); } public static LoggerFactory getDefault() { return _default; } public static void setDefault(boolean isDebugEna...
package com.taobao.top.link; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; // https://gist.github.com/wsky/5538632 // easy timer task, support delay and reset public class ResetableTimer { private boolean running; private Thread boss; private ExecutorService threadPoo...
package com.taobao.top.link; import java.nio.ByteBuffer; import java.util.concurrent.ConcurrentLinkedQueue; // easy buffer pool public class BufferManager { private static ConcurrentLinkedQueue<ByteBuffer> buffers = new ConcurrentLinkedQueue<ByteBuffer>(); private static boolean enableDirect; private st...
package com.taobao.top.link.endpoint; import java.net.URI; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import com.taobao.top.link.LinkException; import com.taobao.top.link.Text; import com.taobao.top.link.channel.ChannelExcepti...
package com.taobao.top.link.endpoint; import com.taobao.top.link.LinkException; public interface Identity { public Identity parse(Object data) throws LinkException; public void render(Object to); public boolean equals(Identity id); }
package com.taobao.top.link.endpoint; import com.taobao.top.link.LinkException; import com.taobao.top.link.Text; import com.taobao.top.link.channel.ServerChannelSender; public class SingleProxyStateHandler implements StateHandler { @Override public void onConnect(EndpointProxy endpoint, ServerChannelSender ...
package com.taobao.top.link.endpoint; import java.util.Map; import com.taobao.top.link.LinkException; import com.taobao.top.link.channel.ChannelContext; public class EndpointContext { private ChannelContext channelContext; private Map<String, String> message; private Identity messageFrom; private int ...
package com.taobao.top.link.endpoint; import java.util.Map; public interface MessageHandler { public void onMessage(EndpointContext context) throws Exception; // just got msg that can not reply public void onMessage(Map<String, String> message, Identity messageFrom); }
package com.taobao.top.link.endpoint; import java.util.Map; import com.taobao.top.link.LinkException; public class DefaultIdentity implements Identity { private String name; public String getName() { return this.name; } public DefaultIdentity(String name) { this.name = name; } @Suppre...
package com.taobao.top.link.endpoint; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.charset.Charset; import java.util.HashMap; import java.util.Map.Entry; import com.taobao.top.link.endpoint.MessageType.HeaderType; // simple protocol impl //care about Endian //https://github.com/...
package com.taobao.top.link.endpoint; import java.util.Map; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import com.taobao.top.link.LinkException; import com.taobao.top.link.Text; public class SendCallback { private CountDownLatch latch; private EndpointProxy endpoin...
package com.taobao.top.link.endpoint; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.concurrent.atomic.AtomicInteger; import com.taobao.top.link.BufferManager; import com.taobao.top.link.DefaultLoggerFactory; import...
package com.taobao.top.link.endpoint; import java.util.Map; // just simple version public class Message { public short messageType; public int statusCode; public String statusPhase; public int flag; public String token; public Map<String, String> content; }
package com.taobao.top.link.endpoint; import com.taobao.top.link.LinkException; import com.taobao.top.link.channel.ServerChannelSender; public interface StateHandler { public void onConnect(EndpointProxy endpoint, ServerChannelSender sender) throws LinkException; }
package com.taobao.top.link.endpoint; import java.net.URI; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import com.taobao.top.link.DefaultLoggerFactory; import com.taobao.top.link.LinkException; import com.taobao.top.link.Logg...
package com.taobao.top.link.endpoint; public class MessageType { public static final short CONNECT = 0; public static final short CONNECTACK = 1; public static final short SEND = 2; public static final short SENDACK = 3; public class HeaderType { public final static short EndOfHeaders = 0; public...
package com.taobao.top.link.channel; import java.net.URI; import java.util.Hashtable; import com.taobao.top.link.DefaultLoggerFactory; import com.taobao.top.link.LoggerFactory; import com.taobao.top.link.Pool; import com.taobao.top.link.Text; import com.taobao.top.link.channel.websocket.WebSocketClient; p...
package com.taobao.top.link.channel.websocket; import java.util.HashMap; import java.util.Map; import org.jboss.netty.channel.ChannelHandlerContext; import com.taobao.top.link.channel.ServerChannelSender; public class WebSocketServerChannelSender extends WebSocketChannelSender implements ServerChannelSende...
package com.taobao.top.link.channel.websocket; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.handler.codec.http.websocketx.CloseWebSocketFrame; import org.jboss.netty.handler.timeout.IdleState; import org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler; import org.jboss.ne...
package com.taobao.top.link.channel.websocket; import java.util.ArrayList; import java.util.List; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.Channels; import org.jboss.netty.channel....
package com.taobao.top.link.channel.websocket; import java.net.URI; import java.nio.ByteBuffer; import org.jboss.netty.handler.codec.http.websocketx.PingWebSocketFrame; import com.taobao.top.link.ResetableTimer; import com.taobao.top.link.Text; import com.taobao.top.link.channel.ChannelException; import co...
package com.taobao.top.link.channel.websocket; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.buffer.ChannelBuffers; import org.jboss.netty.channel.Chan...
package com.taobao.top.link.channel.websocket; import java.net.InetSocketAddress; import java.util.concurrent.Executors; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty....
package com.taobao.top.link.channel.websocket; import java.nio.charset.Charset; import java.util.Map.Entry; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelStateEvent; import org.jboss.netty.channel.ExceptionEvent; impor...
package com.taobao.top.link.channel.websocket; import java.net.InetSocketAddress; import java.net.URI; import java.util.concurrent.Executors; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; import javax.net.ssl.TrustManager; import org.jboss.netty.bootstrap.ClientBootstrap; import org.jbo...
package com.taobao.top.link.channel.websocket; import java.net.URI; import java.util.HashMap; import java.util.Map; public class WebSocketClientHelper { private static Map<String, Map<String, String>> headersByUri = new HashMap<String, Map<String, String>>(); public static void setHeaders(URI uri, Map<Str...
package com.taobao.top.link.channel.websocket; import java.nio.ByteBuffer; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.buffer.ChannelBuffers; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelFuture; import org.jboss.netty.channel.ChannelFutureListener; imp...
package com.taobao.top.link.channel; import java.net.URI; import java.util.Hashtable; import com.taobao.top.link.DefaultLoggerFactory; import com.taobao.top.link.LoggerFactory; import com.taobao.top.link.ResetableTimer; import com.taobao.top.link.channel.websocket.WebSocketClient; public class ClientChanne...
package com.taobao.top.link.channel; import com.taobao.top.link.LinkException; public class ChannelException extends LinkException { private static final long serialVersionUID = 3556204532218058452L; public ChannelException(String message) { super(message); } public ChannelException(String messag...
package com.taobao.top.link.channel; public class ConnectingChannelHandler implements ChannelHandler { public Throwable error; public Object syncObject = new Object(); @Override public void onConnect(ChannelContext context) { synchronized (syncObject) { syncObject.notify(); } } @Override ...
package com.taobao.top.link.channel; public abstract class SimpleChannelHandler implements ChannelHandler { @Override public void onConnect(ChannelContext context) throws Exception { } @Override public void onError(ChannelContext context) throws Exception { } @Override public void onClosed(Strin...
package com.taobao.top.link.channel; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; // always trust server cert public class X509AlwaysTrustManager implements X509TrustManager { @Override public void checkClientTrusted(X50...
package com.taobao.top.link.channel; @Deprecated public interface ClientChannelHandler extends ChannelHandler { }
package com.taobao.top.link.channel; import java.nio.ByteBuffer; import com.taobao.top.link.channel.ChannelSender.SendHandler; public class ChannelContext { private Throwable error; private ChannelSender sender; private Object message; public Throwable getError() { return this.error; } publi...
package com.taobao.top.link.channel.tcp; import java.nio.ByteBuffer; import org.jboss.netty.channel.ChannelHandlerContext; import com.taobao.top.link.channel.ChannelException; import com.taobao.top.link.channel.ChannelSender; public class TcpChannelSender implements ChannelSender { public TcpChannelSen...
package com.taobao.top.link.channel.tcp; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelStateEvent; import org.jboss.netty.channel.ExceptionEvent; import org.jboss.netty.channel.MessageEvent; import org.jboss.netty.channel.SimpleChannelUpstreamHandler; import org.jbo...
package com.taobao.top.link.channel.tcp; import java.net.InetSocketAddress; import java.util.concurrent.Executors; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty.channel.ChannelPipelineFactory; import org.jboss.netty.channel.Channels; ...
package com.taobao.top.link.channel; import com.taobao.top.link.Logger; import com.taobao.top.link.LoggerFactory; public abstract class ServerChannel { protected LoggerFactory loggerFactory; protected Logger logger; protected ChannelHandler channelHandler; protected int port; protected int maxIdleTimeS...
package com.taobao.top.link.channel.embedded; import java.net.URI; import com.taobao.top.link.LoggerFactory; import com.taobao.top.link.channel.ChannelException; import com.taobao.top.link.channel.ClientChannel; import com.taobao.top.link.channel.ClientChannelSharedSelector; public class EmbeddedClientChann...
package com.taobao.top.link.channel.embedded; import java.net.URI; import java.util.Map; import com.taobao.top.link.Logger; import com.taobao.top.link.LoggerFactory; import com.taobao.top.link.Text; import com.taobao.top.link.channel.ChannelException; import com.taobao.top.link.channel.ClientChannel; import...
package com.taobao.top.link.channel.embedded; import java.net.URI; import com.taobao.top.link.LoggerFactory; import com.taobao.top.link.channel.ChannelException; import com.taobao.top.link.channel.ClientChannel; import com.taobao.top.link.channel.ClientChannelPooledSelector; public class EmbeddedClientChann...
package com.taobao.top.link.channel.embedded; import java.net.URI; import java.nio.ByteBuffer; import com.taobao.top.link.ResetableTimer; import com.taobao.top.link.Text; import com.taobao.top.link.channel.ChannelException; import com.taobao.top.link.channel.ChannelHandler; import com.taobao.top.link.channel...
package com.taobao.top.link.channel.embedded; import com.taobao.top.link.Logger; import com.taobao.top.link.Text; import com.taobao.top.link.channel.ChannelContext; import com.taobao.top.link.channel.ChannelHandler; import com.taobao.top.link.embedded.websocket.WebSocket; import com.taobao.top.link.embedded.web...
package com.taobao.top.link.channel; public interface ServerChannelSender extends ChannelSender { public boolean isOpen(); public Object getContext(Object key); public void setContext(Object key, Object value); }
package com.taobao.top.link.channel; import java.nio.ByteBuffer; public interface ChannelSender { public void send(byte[] data, int offset, int length) throws ChannelException; public void send(ByteBuffer dataBuffer, SendHandler sendHandler) throws ChannelException; public void close(String reason); pu...
package com.taobao.top.link.channel; public interface ChannelHandler { public void onConnect(ChannelContext context) throws Exception; public void onMessage(ChannelContext context) throws Exception; public void onError(ChannelContext context) throws Exception; public void onClosed(String reason); }
package com.taobao.top.link.channel; import java.net.URI; public interface ClientChannelSelector { public ClientChannel getChannel(URI uri) throws ChannelException; public void returnChannel(ClientChannel channel); }
package com.taobao.top.link.channel; import java.net.URI; import com.taobao.top.link.ResetableTimer; public interface ClientChannel extends ChannelSender { public boolean isConnected(); public void setChannelHandler(ChannelHandler handler); public void setUri(URI uri); public URI getUri(); public voi...
package com.taobao.top.link; public class DefaultLogger implements Logger { private String type; private boolean isDebugEnabled; private boolean isInfoEnabled; private boolean isWarnEnabled; private boolean isErrorEnabled; private boolean isFatalEnabled; public DefaultLogger(String type, boolean ...
package com.taobao.top.link.embedded.websocket.exception; /** * The Class ErrorCode. * * @author Takahiro Hashimoto */ public enum ErrorCode { E3007("Not supported protocol. %s"), E3008("Not supported protocol. %s"), E3009("URI syntax error"), E3010("WebSocket is not connected"), E3...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
package com.taobao.top.link.embedded.websocket.handshake; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; //always trust server cert public class X509AlwaysTrustManager implements X509TrustManager { @Override public void ch...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
package com.taobao.top.link.embedded.websocket.auth; /** * User: t-hashimoto * Date: 12/10/03 * Time: 14:40 */ public enum AuthScheme { Negotiate, Digest, Basic }
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
package com.taobao.top.link.embedded.websocket.auth.win32; /** * User: t-hashimoto * Date: 12/10/04 * Time: 9:04 */ public enum Mechanism { Negotiate, NTLM }
package com.taobao.top.link.embedded.websocket.auth.win32; ///* // * The MIT License // * // * Copyright (c) 2011 Takahiro Hashimoto // * // * Permission is hereby granted, free of charge, to any person obtaining a copy // * of this software and associated documentation files (the "Software"), to deal // * in t...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/* * The MIT License * * Copyright (c) 2011 Takahiro Hashimoto * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...