public class NoAuthencationRequiredMethod extends AbstractSocksMethod
NoAuthencationRequiredMethod
represents method which mean NO
AUTHENTICATION REQUIRED. This indicates that the server does not require the client to provide
authentication information.Constructor and Description |
---|
NoAuthencationRequiredMethod() |
Modifier and Type | Method and Description |
---|---|
void |
doMethod(Session session)
Do method job.
|
void |
doMethod(SocksProxy socksProxy)
Do method job.
|
int |
getByte()
method byte.
|
String |
getMethodName()
Gets method's name.
|
equals, hashCode
public final int getByte()
SocksMethod
public void doMethod(SocksProxy socksProxy) throws SocksException, IOException
SocksMethod
socksProxy
- SocksProxy instance.SocksException
- If there are any errors about SOCKS protocol.IOException
- if there are any IO errors.public void doMethod(Session session) throws SocksException, IOException
SocksMethod
session
- Session.SocksException
- TODOIOException
- TODOpublic String getMethodName()
SocksMethod
Copyright © 2015. All rights reserved.