Code example for LocalSocketAddress

0
		UNLOCKED,
		LOCKED,
		UNINITIALIZED
	}; 
 
	private static final LocalSocketAddress sAddress = new LocalSocketAddress("keystore", LocalSocketAddress.Namespace.RESERVED);
 
	private int mError = NO_ERROR;
 
	private KeyStore() { 
	} 
 
	public static KeyStore getInstance() { 
		return new KeyStore(); 
	} 
 
	public State state() { 
		execute('t'); 
		switch (mError) {
		case NO_ERROR:
			return State.UNLOCKED;