NodeStatusResponse( NbtAddress queryAddress ) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; }
NodeStatusResponse( NbtAddress queryAddress ) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; }
NodeStatusResponse ( Configuration cfg, NbtAddress queryAddress ) { super(cfg); this.queryAddress = queryAddress; this.recordName = new Name(cfg); this.macAddress = new byte[6]; }
NodeStatusResponse( NbtAddress queryAddress ) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; }
NodeStatusResponse ( Configuration cfg, NbtAddress queryAddress ) { super(cfg); this.queryAddress = queryAddress; this.recordName = new Name(cfg); this.macAddress = new byte[6]; }
NodeStatusResponse( NbtAddress queryAddress ) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; }
/** * This is really just for {@link jcifs.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. */ public synchronized static NbtAddress getByName( String host ) { return getByName( new Name( host, 0x20, null )); }
/** * This is really just for {@link jcifs.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. */ public synchronized static NbtAddress getByName( String host ) { return getByName( new Name( host, 0x20, null )); }
public static NbtAddress[] getAllByName( String host, int type, String scope, InetAddress svr ) throws UnknownHostException { return CLIENT.getAllByName( new Name( host, type, scope ), svr ); }
public static NbtAddress[] getAllByName( String host, int type, String scope, InetAddress svr ) throws UnknownHostException { return CLIENT.getAllByName( new Name( host, type, scope ), svr ); }
public static NbtAddress[] getAllByName( String host, int type, String scope, InetAddress svr ) throws UnknownHostException { return CLIENT.getAllByName( new Name( host, type, scope ), svr ); }
/** * This is really just for {@link jcifs.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. */ public synchronized static NbtAddress getByName( String host ) { return getByName( new Name( host, 0x20, null )); }
/** * This is really just for {@link jcifs.netbios.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host * @param tc * @return resolved name, null if not found */ public synchronized NbtAddress getByName ( String host, CIFSContext tc ) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); }
public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ), localAddr, localPort ); this.address = address; if( calledName == null ) { this.calledName = address.hostName; } else { this.calledName = new Name( calledName, 0x20, null ); } soTimeout = Config.getInt( "jcifs.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); connect(); }
public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ), localAddr, localPort ); this.address = address; if( calledName == null ) { this.calledName = address.hostName; } else { this.calledName = new Name( calledName, 0x20, null ); } soTimeout = Config.getInt( "jcifs.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); connect(); }